2014-10-09 01:11:57 +04:00
|
|
|
'atom-text-editor':
|
2013-11-20 01:53:10 +04:00
|
|
|
# Platform Bindings
|
2013-10-31 03:28:16 +04:00
|
|
|
'home': 'editor:move-to-first-character-of-line'
|
2013-12-31 05:53:21 +04:00
|
|
|
'end': 'editor:move-to-end-of-screen-line'
|
2013-10-31 03:28:16 +04:00
|
|
|
'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
|
|
|
|
2014-11-13 02:44:52 +03:00
|
|
|
'atom-text-editor:not([mini])':
|
2013-10-31 03:28:16 +04:00
|
|
|
# Atom Specific
|
2016-10-17 16:25:00 +03:00
|
|
|
'ctrl-shift-c': 'editor:copy-path'
|
2013-10-31 03:28:16 +04:00
|
|
|
|
|
|
|
# Sublime Parity
|
|
|
|
'tab': 'editor:indent'
|
|
|
|
'enter': 'editor:newline'
|
|
|
|
'shift-tab': 'editor:outdent-selected-rows'
|
2016-10-17 16:25:00 +03:00
|
|
|
'ctrl-shift-k': 'editor:delete-line'
|
2013-10-31 03:28:16 +04:00
|
|
|
|
2014-11-13 02:44:52 +03:00
|
|
|
'.select-list atom-text-editor[mini]':
|
2014-10-17 05:10:28 +04:00
|
|
|
'enter': 'core:confirm'
|
|
|
|
|
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
|
|
|
|
2014-11-13 02:44:52 +03:00
|
|
|
'atom-text-editor !important, atom-text-editor[mini] !important':
|
2013-10-31 03:28:16 +04:00
|
|
|
'escape': 'editor:consolidate-selections'
|
|
|
|
|
2016-10-17 16:25:00 +03:00
|
|
|
# Allow standard input fields to work correctly
|
2013-12-03 03:26:35 +04:00
|
|
|
'body .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-12-05 23:07:53 +04:00
|
|
|
'up': 'native!'
|
|
|
|
'down': 'native!'
|
|
|
|
'shift-up': 'native!'
|
|
|
|
'shift-down': 'native!'
|
|
|
|
'alt-up': 'native!'
|
|
|
|
'alt-down': 'native!'
|
|
|
|
'alt-shift-up': 'native!'
|
|
|
|
'alt-shift-down': 'native!'
|
|
|
|
'cmd-up': 'native!'
|
|
|
|
'cmd-down': 'native!'
|
|
|
|
'cmd-shift-up': 'native!'
|
|
|
|
'cmd-shift-down': 'native!'
|
|
|
|
'ctrl-up': 'native!'
|
|
|
|
'ctrl-down': 'native!'
|
|
|
|
'ctrl-shift-up': 'native!'
|
|
|
|
'ctrl-shift-down': '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-12-05 23:07:53 +04:00
|
|
|
'cmd-left': 'native!'
|
|
|
|
'cmd-right': 'native!'
|
|
|
|
'cmd-shift-left': 'native!'
|
|
|
|
'cmd-shift-right': 'native!'
|
|
|
|
'ctrl-left': 'native!'
|
|
|
|
'ctrl-right': 'native!'
|
|
|
|
'ctrl-shift-left': 'native!'
|
|
|
|
'ctrl-shift-right': 'native!'
|
2013-10-31 03:31:47 +04:00
|
|
|
'ctrl-b': 'native!'
|
|
|
|
'ctrl-f': 'native!'
|
2016-10-17 16:25:00 +03:00
|
|
|
'ctrl-shift-f': 'native!'
|
|
|
|
'ctrl-shift-b': 'native!'
|
2013-10-31 03:31:47 +04:00
|
|
|
'ctrl-h': 'native!'
|
|
|
|
'ctrl-d': 'native!'
|