2014-03-18 11:51:13 +04:00
|
|
|
'body':
|
|
|
|
# Atom Specific
|
|
|
|
'enter': 'core:confirm'
|
|
|
|
'escape': 'core:cancel'
|
|
|
|
'up': 'core:move-up'
|
|
|
|
'down': 'core:move-down'
|
|
|
|
'left': 'core:move-left'
|
|
|
|
'right': 'core:move-right'
|
|
|
|
'ctrl-alt-r': 'window:reload'
|
2014-06-03 21:31:32 +04:00
|
|
|
'ctrl-shift-i': 'window:toggle-dev-tools'
|
2014-03-18 11:51:13 +04:00
|
|
|
'ctrl-alt-p': 'window:run-package-specs'
|
|
|
|
'ctrl-alt-s': 'application:run-all-specs'
|
2014-08-28 15:02:52 +04:00
|
|
|
'ctrl-shift-o': 'application:open-folder'
|
2015-04-07 23:05:28 +03:00
|
|
|
'ctrl-alt-o': 'application:add-project-folder'
|
2014-11-11 00:28:15 +03:00
|
|
|
'ctrl-shift-pageup': 'pane:move-item-left'
|
|
|
|
'ctrl-shift-pagedown': 'pane:move-item-right'
|
2014-04-07 22:21:00 +04:00
|
|
|
'F11': 'window:toggle-full-screen'
|
2014-03-18 11:51:13 +04:00
|
|
|
|
|
|
|
# Sublime Parity
|
2014-08-27 18:10:08 +04:00
|
|
|
'ctrl-,': 'application:show-settings'
|
2014-03-18 11:51:13 +04:00
|
|
|
'ctrl-N': 'application:new-window'
|
|
|
|
'ctrl-W': 'window:close'
|
2014-04-10 12:44:28 +04:00
|
|
|
'ctrl-o': 'application:open-file'
|
2014-04-02 11:14:06 +04:00
|
|
|
'ctrl-q': 'application:quit'
|
2014-03-18 11:51:13 +04:00
|
|
|
'ctrl-T': 'pane:reopen-closed-item'
|
|
|
|
'ctrl-n': 'application:new-file'
|
|
|
|
'ctrl-s': 'core:save'
|
|
|
|
'ctrl-S': 'core:save-as'
|
|
|
|
'ctrl-w': 'core:close'
|
|
|
|
'ctrl-z': 'core:undo'
|
|
|
|
'ctrl-y': 'core:redo'
|
2014-07-23 01:41:51 +04:00
|
|
|
'ctrl-shift-z': 'core:redo'
|
2014-03-18 11:51:13 +04:00
|
|
|
'ctrl-x': 'core:cut'
|
|
|
|
'ctrl-c': 'core:copy'
|
|
|
|
'ctrl-v': 'core:paste'
|
2014-06-09 17:39:00 +04:00
|
|
|
'ctrl-insert': 'core:copy'
|
|
|
|
'shift-insert': 'core:paste'
|
2014-03-18 11:51:13 +04:00
|
|
|
'shift-up': 'core:select-up'
|
|
|
|
'shift-down': 'core:select-down'
|
|
|
|
'shift-left': 'core:select-left'
|
|
|
|
'shift-right': 'core:select-right'
|
2014-05-22 23:22:51 +04:00
|
|
|
'shift-pageup': 'core:select-page-up'
|
|
|
|
'shift-pagedown': 'core:select-page-down'
|
2014-03-18 11:51:13 +04:00
|
|
|
'delete': 'core:delete'
|
2014-07-11 13:14:56 +04:00
|
|
|
'shift-delete': 'core:cut'
|
2014-03-18 11:51:13 +04:00
|
|
|
'pageup': 'core:page-up'
|
|
|
|
'pagedown': 'core:page-down'
|
|
|
|
'backspace': 'core:backspace'
|
2014-06-01 03:15:36 +04:00
|
|
|
'shift-backspace': 'core:backspace'
|
2014-03-18 11:51:13 +04:00
|
|
|
'ctrl-tab': 'pane:show-next-item'
|
|
|
|
'ctrl-shift-tab': 'pane:show-previous-item'
|
2014-06-24 19:44:26 +04:00
|
|
|
'ctrl-pageup': 'pane:show-previous-item'
|
|
|
|
'ctrl-pagedown': 'pane:show-next-item'
|
2015-07-28 20:09:34 +03:00
|
|
|
'ctrl-up': 'core:move-up'
|
|
|
|
'ctrl-down': 'core:move-down'
|
2014-03-18 11:51:13 +04:00
|
|
|
'ctrl-shift-up': 'core:move-up'
|
|
|
|
'ctrl-shift-down': 'core:move-down'
|
|
|
|
'ctrl-=': 'window:increase-font-size'
|
|
|
|
'ctrl-+': 'window:increase-font-size'
|
|
|
|
'ctrl--': 'window:decrease-font-size'
|
|
|
|
'ctrl-_': 'window:decrease-font-size'
|
|
|
|
'ctrl-0': 'window:reset-font-size'
|
|
|
|
|
|
|
|
'ctrl-k up': 'pane:split-up' # Atom Specific
|
|
|
|
'ctrl-k down': 'pane:split-down' # Atom Specific
|
|
|
|
'ctrl-k left': 'pane:split-left' # Atom Specific
|
|
|
|
'ctrl-k right': 'pane:split-right' # Atom Specific
|
|
|
|
'ctrl-k ctrl-w': 'pane:close' # Atom Specific
|
|
|
|
'ctrl-k alt-ctrl-w': 'pane:close-other-items' # Atom Specific
|
|
|
|
'ctrl-k ctrl-p': 'window:focus-previous-pane'
|
|
|
|
'ctrl-k ctrl-n': 'window:focus-next-pane'
|
|
|
|
'ctrl-k ctrl-up': 'window:focus-pane-above'
|
|
|
|
'ctrl-k ctrl-down': 'window:focus-pane-below'
|
|
|
|
'ctrl-k ctrl-left': 'window:focus-pane-on-left'
|
|
|
|
'ctrl-k ctrl-right': 'window:focus-pane-on-right'
|
2014-06-05 09:11:29 +04:00
|
|
|
'alt-1': 'pane:show-item-1'
|
|
|
|
'alt-2': 'pane:show-item-2'
|
|
|
|
'alt-3': 'pane:show-item-3'
|
|
|
|
'alt-4': 'pane:show-item-4'
|
|
|
|
'alt-5': 'pane:show-item-5'
|
|
|
|
'alt-6': 'pane:show-item-6'
|
|
|
|
'alt-7': 'pane:show-item-7'
|
|
|
|
'alt-8': 'pane:show-item-8'
|
|
|
|
'alt-9': 'pane:show-item-9'
|
2014-03-18 11:51:13 +04:00
|
|
|
|
2014-10-09 01:11:57 +04:00
|
|
|
'atom-workspace atom-text-editor':
|
2014-05-09 05:34:47 +04:00
|
|
|
# Platform Bindings
|
|
|
|
'ctrl-left': 'editor:move-to-beginning-of-word'
|
|
|
|
'ctrl-right': 'editor:move-to-end-of-word'
|
|
|
|
'ctrl-shift-left': 'editor:select-to-beginning-of-word'
|
|
|
|
'ctrl-shift-right': 'editor:select-to-end-of-word'
|
2014-05-12 02:40:49 +04:00
|
|
|
'ctrl-backspace': 'editor:delete-to-beginning-of-word'
|
2014-05-09 05:34:47 +04:00
|
|
|
'ctrl-delete': 'editor:delete-to-end-of-word'
|
2014-05-12 05:02:16 +04:00
|
|
|
'ctrl-home': 'core:move-to-top'
|
|
|
|
'ctrl-end': 'core:move-to-bottom'
|
2014-05-17 19:53:17 +04:00
|
|
|
'ctrl-shift-home': 'core:select-to-top'
|
|
|
|
'ctrl-shift-end': 'core:select-to-bottom'
|
2015-03-02 04:27:54 +03:00
|
|
|
'alt-left': 'editor:move-to-previous-subword-boundary'
|
|
|
|
'alt-right': 'editor:move-to-next-subword-boundary'
|
|
|
|
'alt-shift-left': 'editor:select-to-previous-subword-boundary'
|
|
|
|
'alt-shift-right': 'editor:select-to-next-subword-boundary'
|
|
|
|
'alt-backspace': 'editor:delete-to-beginning-of-subword'
|
|
|
|
'alt-delete': 'editor:delete-to-end-of-subword'
|
2014-03-18 11:51:13 +04:00
|
|
|
|
|
|
|
# Sublime Parity
|
|
|
|
'ctrl-a': 'core:select-all'
|
2014-06-05 01:01:33 +04:00
|
|
|
'ctrl-alt-shift-p': 'editor:log-cursor-scope'
|
2014-03-18 11:51:13 +04:00
|
|
|
'ctrl-k ctrl-u': 'editor:upper-case'
|
|
|
|
'ctrl-k ctrl-l': 'editor:lower-case'
|
2014-07-23 09:48:27 +04:00
|
|
|
'ctrl-l': 'editor:select-line'
|
2014-03-18 11:51:13 +04:00
|
|
|
|
2014-11-13 02:44:52 +03:00
|
|
|
'atom-workspace atom-text-editor:not([mini])':
|
2014-03-18 11:51:13 +04:00
|
|
|
# Atom specific
|
|
|
|
'alt-ctrl-z': 'editor:checkout-head-revision'
|
|
|
|
'ctrl-<': 'editor:scroll-to-cursor'
|
|
|
|
'alt-ctrl-f': 'editor:fold-selection'
|
|
|
|
|
|
|
|
# Sublime Parity
|
|
|
|
'ctrl-enter': 'editor:newline-below'
|
|
|
|
'ctrl-shift-enter': 'editor:newline-above'
|
|
|
|
'ctrl-]': 'editor:indent-selected-rows'
|
|
|
|
'ctrl-[': 'editor:outdent-selected-rows'
|
|
|
|
'ctrl-up': 'editor:move-line-up'
|
|
|
|
'ctrl-down': 'editor:move-line-down'
|
|
|
|
'ctrl-/': 'editor:toggle-line-comments'
|
|
|
|
'ctrl-j': 'editor:join-lines'
|
|
|
|
'ctrl-D': 'editor:duplicate-lines'
|
2014-04-07 22:41:08 +04:00
|
|
|
'alt-shift-up': 'editor:add-selection-above'
|
|
|
|
'alt-shift-down': 'editor:add-selection-below'
|
2014-03-18 11:51:13 +04:00
|
|
|
|
|
|
|
'ctrl-alt-[': 'editor:fold-current-row'
|
|
|
|
'ctrl-alt-]': 'editor:unfold-current-row'
|
|
|
|
'ctrl-alt-{': 'editor:fold-all' # Atom Specific
|
|
|
|
'ctrl-alt-}': 'editor:unfold-all' # Atom Specific
|
|
|
|
'ctrl-k ctrl-0': 'editor:unfold-all'
|
|
|
|
'ctrl-k ctrl-1': 'editor:fold-at-indent-level-1'
|
|
|
|
'ctrl-k ctrl-2': 'editor:fold-at-indent-level-2'
|
|
|
|
'ctrl-k ctrl-3': 'editor:fold-at-indent-level-3'
|
|
|
|
'ctrl-k ctrl-4': 'editor:fold-at-indent-level-4'
|
|
|
|
'ctrl-k ctrl-5': 'editor:fold-at-indent-level-5'
|
|
|
|
'ctrl-k ctrl-6': 'editor:fold-at-indent-level-6'
|
|
|
|
'ctrl-k ctrl-7': 'editor:fold-at-indent-level-7'
|
|
|
|
'ctrl-k ctrl-8': 'editor:fold-at-indent-level-8'
|
|
|
|
'ctrl-k ctrl-9': 'editor:fold-at-indent-level-9'
|
|
|
|
|
2015-06-21 08:07:30 +03:00
|
|
|
'atom-workspace atom-pane':
|
2015-08-13 16:48:10 +03:00
|
|
|
'ctrl-alt-=': 'pane:increase-size'
|
|
|
|
'ctrl-alt--': 'pane:decrease-size'
|
|
|
|
|
2014-03-18 11:51:13 +04:00
|
|
|
# allow standard input fields to work correctly
|
|
|
|
'body .native-key-bindings':
|
|
|
|
'ctrl-z': 'native!'
|
|
|
|
'ctrl-Z': 'native!'
|
|
|
|
'ctrl-x': 'native!'
|
|
|
|
'ctrl-c': 'native!'
|
|
|
|
'ctrl-v': 'native!'
|