atom-multi-cursor-plus
atom-multi-cursor-plus copied to clipboard
move and mark command
#11
i review your questions and rethink my issue.
I think that me needed simple command mark-and-move
example:
'ctrl-alt-up': 'multi-cursor-plus:mark--move-up'
'ctrl-alt-down': 'multi-cursor-plus:mark--move-down'
# move left and right keys yet bind and i don't know do they need/
# 'ctrl-alt-left': 'multi-cursor-plus:mark--move-left'
# 'ctrl-alt-right': 'multi-cursor-plus:mark--move-right'
init.coffee
atom.commands.add 'atom-text-editor', 'custom:add_cursor_up', (event) ->
atom.commands.dispatch(event.target, 'multi-cursor-plus:mark')
atom.commands.dispatch(event.target, 'multi-cursor-plus:move-up')
atom.commands.add 'atom-text-editor', 'custom:add_cursor_down', (event) ->
atom.commands.dispatch(event.target, 'multi-cursor-plus:mark')
atom.commands.dispatch(event.target, 'multi-cursor-plus:move-down')
keymap.cson
'cmd-alt-up': 'custom:add_cursor_up'
'cmd-alt-down': 'custom:add_cursor_down'