2013-10-31 03:28:16 +04:00
|
|
|
'.editor':
|
2013-11-20 01:53:10 +04:00
|
|
|
# Platform Bindings
|
2013-10-31 03:28:16 +04:00
|
|
|
'alt-left': 'editor:move-to-previous-word-boundary'
|
|
|
|
'alt-right': 'editor:move-to-next-word-boundary'
|
|
|
|
'alt-shift-left': 'editor:select-to-previous-word-boundary'
|
|
|
|
'alt-shift-right': 'editor:select-to-next-word-boundary'
|
|
|
|
'home': 'editor:move-to-first-character-of-line'
|
|
|
|
'end': 'editor:move-to-end-of-line'
|
|
|
|
'shift-home': 'editor:select-to-first-character-of-line'
|
|
|
|
'shift-end': 'editor:select-to-end-of-line'
|
2013-10-31 21:00:17 +04:00
|
|
|
|
|
|
|
# Sublime Parity
|
|
|
|
'ctrl-t': 'editor:transpose'
|
|
|
|
|
|
|
|
'.editor:not(.mini)':
|
2013-10-31 03:28:16 +04:00
|
|
|
# Atom Specific
|
|
|
|
'ctrl-C': 'editor:copy-path'
|
|
|
|
|
|
|
|
# Sublime Parity
|
|
|
|
'tab': 'editor:indent'
|
|
|
|
'enter': 'editor:newline'
|
|
|
|
'shift-tab': 'editor:outdent-selected-rows'
|
|
|
|
'ctrl-K': 'editor:delete-line'
|
|
|
|
'ctrl-shift-up': 'editor:add-selection-above'
|
|
|
|
'ctrl-shift-down': 'editor:add-selection-below'
|
|
|
|
|
|
|
|
'.tool-panel':
|
|
|
|
'escape': 'core:close'
|
|
|
|
|
2013-10-31 21:00:38 +04:00
|
|
|
'.tool-panel.panel-left, .tool-panel.panel-right':
|
|
|
|
'escape': 'tool-panel:unfocus'
|
2013-10-31 03:28:16 +04:00
|
|
|
|
|
|
|
'.editor !important, .editor.mini !important':
|
|
|
|
'escape': 'editor:consolidate-selections'
|
|
|
|
|
|
|
|
# allow standard input fields to work correctly
|
2013-11-01 02:40:44 +04:00
|
|
|
'input:not(.hidden-input), .native-key-bindings':
|
2013-10-31 03:28:16 +04:00
|
|
|
'tab': 'core:focus-next'
|
|
|
|
'shift-tab': 'core:focus-previous'
|
2013-11-28 02:20:45 +04:00
|
|
|
'enter': 'native!'
|
|
|
|
'backspace': 'native!'
|
|
|
|
'shift-backspace': 'native!'
|
|
|
|
'delete': 'native!'
|
2013-10-31 03:28:16 +04:00
|
|
|
'left': 'native!'
|
|
|
|
'right': 'native!'
|
|
|
|
'shift-left': 'native!'
|
|
|
|
'shift-right': 'native!'
|
2013-11-28 02:20:45 +04:00
|
|
|
'alt-left': 'native!'
|
|
|
|
'alt-right': 'native!'
|
|
|
|
'alt-shift-left': 'native!'
|
|
|
|
'alt-shift-right': 'native!'
|
2013-10-31 03:31:47 +04:00
|
|
|
'ctrl-b': 'native!'
|
|
|
|
'ctrl-f': 'native!'
|
|
|
|
'ctrl-F': 'native!'
|
|
|
|
'ctrl-B': 'native!'
|
|
|
|
'ctrl-h': 'native!'
|
|
|
|
'ctrl-d': 'native!'
|