mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-15 03:04:37 +03:00
155 lines
5.1 KiB
Plaintext
155 lines
5.1 KiB
Plaintext
'.platform-darwin':
|
|
# Apple specific
|
|
'cmd-q': 'application:quit'
|
|
'cmd-h': 'application:hide'
|
|
'cmd-H': 'application:hide-other-applications'
|
|
'cmd-m': 'application:minimize'
|
|
'alt-cmd-ctrl-m': 'application:zoom'
|
|
|
|
'ctrl-p': 'core:move-up'
|
|
'ctrl-n': 'core:move-down'
|
|
'ctrl-b': 'core:move-left'
|
|
'ctrl-f': 'core:move-right'
|
|
'ctrl-P': 'core:select-up'
|
|
'ctrl-N': 'core:select-down'
|
|
'ctrl-F': 'core:select-right'
|
|
'ctrl-B': 'core:select-left'
|
|
'ctrl-h': 'core:backspace'
|
|
'ctrl-d': 'core:delete'
|
|
|
|
# Atom Specific
|
|
'cmd-O': 'application:open-dev'
|
|
'cmd-alt-ctrl-s': 'application:run-all-specs'
|
|
'enter': 'core:confirm'
|
|
'escape': 'core:cancel'
|
|
'up': 'core:move-up'
|
|
'down': 'core:move-down'
|
|
'left': 'core:move-left'
|
|
'right': 'core:move-right'
|
|
'ctrl-alt-cmd-r': 'window:reload'
|
|
'alt-cmd-i': 'window:toggle-dev-tools'
|
|
'cmd-alt-ctrl-p': 'window:run-package-specs'
|
|
|
|
# Sublime Parity
|
|
'cmd-,': 'application:show-settings'
|
|
'cmd-N': 'application:new-window'
|
|
'cmd-W': 'window:close'
|
|
'cmd-o': 'application:open'
|
|
'cmd-T': 'pane:reopen-closed-item'
|
|
'cmd-n': 'application:new-file'
|
|
'cmd-s': 'core:save'
|
|
'cmd-S': 'core:save-as'
|
|
'cmd-alt-s': 'window:save-all'
|
|
'cmd-w': 'core:close'
|
|
'cmd-ctrl-f': 'window:toggle-full-screen'
|
|
'cmd-z': 'core:undo'
|
|
'cmd-Z': 'core:redo'
|
|
'cmd-y': 'core:redo'
|
|
'cmd-x': 'core:cut'
|
|
'cmd-c': 'core:copy'
|
|
'cmd-v': 'core:paste'
|
|
'shift-up': 'core:select-up'
|
|
'shift-down': 'core:select-down'
|
|
'shift-left': 'core:select-left'
|
|
'shift-right': 'core:select-right'
|
|
'delete': 'core:delete'
|
|
'pageup': 'core:page-up'
|
|
'pagedown': 'core:page-down'
|
|
'backspace': 'core:backspace'
|
|
'shift-backspace': 'core:backspace'
|
|
'cmd-up': 'core:move-to-top'
|
|
'cmd-down': 'core:move-to-bottom'
|
|
'cmd-shift-up': 'core:select-to-top'
|
|
'cmd-shift-down': 'core:select-to-bottom'
|
|
'cmd-{': 'pane:show-previous-item'
|
|
'cmd-}': 'pane:show-next-item'
|
|
'cmd-alt-left': 'pane:show-previous-item'
|
|
'cmd-alt-right': 'pane:show-next-item'
|
|
'cmd-=': 'window:increase-font-size'
|
|
'cmd-+': 'window:increase-font-size'
|
|
'cmd--': 'window:decrease-font-size'
|
|
|
|
'cmd-k up': 'pane:split-up' # Atom Specific
|
|
'cmd-k down': 'pane:split-down' # Atom Specific
|
|
'cmd-k left': 'pane:split-left' # Atom Specific
|
|
'cmd-k right': 'pane:split-right' # Atom Specific
|
|
'cmd-k cmd-w': 'pane:close' # Atom Specific
|
|
'cmd-k alt-cmd-w': 'pane:close-other-items' # Atom Specific
|
|
'cmd-k cmd-left': 'window:focus-previous-pane'
|
|
'cmd-k cmd-right': 'window:focus-next-pane'
|
|
'cmd-1': 'pane:show-item-1'
|
|
'cmd-2': 'pane:show-item-2'
|
|
'cmd-3': 'pane:show-item-3'
|
|
'cmd-4': 'pane:show-item-4'
|
|
'cmd-5': 'pane:show-item-5'
|
|
'cmd-6': 'pane:show-item-6'
|
|
'cmd-7': 'pane:show-item-7'
|
|
'cmd-8': 'pane:show-item-8'
|
|
'cmd-9': 'pane:show-item-9'
|
|
|
|
'.platform-darwin .editor':
|
|
# Apple Specific
|
|
'cmd-backspace': 'editor:backspace-to-beginning-of-line'
|
|
'cmd-delete': 'editor:backspace-to-beginning-of-line'
|
|
'ctrl-A': 'editor:select-to-first-character-of-line'
|
|
'ctrl-E': 'editor:select-to-end-of-line'
|
|
'cmd-left': 'editor:move-to-first-character-of-line'
|
|
'cmd-right': 'editor:move-to-end-of-line'
|
|
'cmd-shift-left': 'editor:select-to-first-character-of-line'
|
|
'cmd-shift-right': 'editor:select-to-end-of-line'
|
|
'alt-backspace': 'editor:backspace-to-beginning-of-word'
|
|
'alt-delete': 'editor:delete-to-end-of-word'
|
|
'ctrl-a': 'editor:move-to-first-character-of-line'
|
|
'ctrl-e': 'editor:move-to-end-of-line'
|
|
'ctrl-k': 'editor:cut-to-end-of-line'
|
|
|
|
# Atom Specific
|
|
'ctrl-W': 'editor:select-word'
|
|
|
|
# Sublime Parity
|
|
'cmd-a': 'core:select-all'
|
|
'cmd-alt-p': 'editor:log-cursor-scope'
|
|
'cmd-k cmd-u': 'editor:upper-case'
|
|
'cmd-k cmd-l': 'editor:lower-case'
|
|
|
|
'body.platform-darwin .editor:not(.mini)':
|
|
# Atom specific
|
|
'alt-cmd-z': 'editor:checkout-head-revision'
|
|
'cmd-<': 'editor:scroll-to-cursor'
|
|
'alt-cmd-ctrl-f': 'editor:fold-selection'
|
|
'cmd-=': 'editor:auto-indent'
|
|
|
|
# Sublime Parity
|
|
'cmd-enter': 'editor:newline-below'
|
|
'cmd-shift-enter': 'editor:newline-above'
|
|
'cmd-]': 'editor:indent-selected-rows'
|
|
'cmd-[': 'editor:outdent-selected-rows'
|
|
'ctrl-cmd-up': 'editor:move-line-up'
|
|
'ctrl-cmd-down': 'editor:move-line-down'
|
|
'cmd-/': 'editor:toggle-line-comments'
|
|
'cmd-j': 'editor:join-line'
|
|
'cmd-D': 'editor:duplicate-line'
|
|
|
|
'cmd-alt-[': 'editor:fold-current-row'
|
|
'cmd-alt-]': 'editor:unfold-current-row'
|
|
'cmd-alt-{': 'editor:fold-all' # Atom Specific
|
|
'cmd-alt-}': 'editor:unfold-all' # Atom Specific
|
|
'cmd-k cmd-0': 'editor:unfold-all'
|
|
'cmd-k cmd-1': 'editor:fold-at-indent-level-1'
|
|
'cmd-k cmd-2': 'editor:fold-at-indent-level-2'
|
|
'cmd-k cmd-3': 'editor:fold-at-indent-level-3'
|
|
'cmd-k cmd-4': 'editor:fold-at-indent-level-4'
|
|
'cmd-k cmd-5': 'editor:fold-at-indent-level-5'
|
|
'cmd-k cmd-6': 'editor:fold-at-indent-level-6'
|
|
'cmd-k cmd-7': 'editor:fold-at-indent-level-7'
|
|
'cmd-k cmd-8': 'editor:fold-at-indent-level-8'
|
|
'cmd-k cmd-9': 'editor:fold-at-indent-level-9'
|
|
|
|
# allow standard input fields to work correctly
|
|
'body.platform-darwin .native-key-bindings':
|
|
'cmd-z': 'native!'
|
|
'cmd-Z': 'native!'
|
|
'cmd-x': 'native!'
|
|
'cmd-c': 'native!'
|
|
'cmd-v': 'native!'
|