Skip to content

Instantly share code, notes, and snippets.

@usirin
Created March 23, 2017 17:23
Show Gist options
  • Save usirin/b81f5ed2629662bf6d3fa511ac77339a to your computer and use it in GitHub Desktop.
Save usirin/b81f5ed2629662bf6d3fa511ac77339a to your computer and use it in GitHub Desktop.
Atom keybindings
# normal mode
'atom-text-editor.vim-mode-plus.normal-mode':
', a': 'editor:toggle-line-comments'
', e v': 'settings-view:install-packager-and-theme'
':': 'vim-mode-plus-ex-mode:open'
';': 'vim-mode-plus-ex-mode:open'
'!': 'vim-mode-plus-ex-mode:toggle-setting'
'g f': 'open-this:here'
'ctrl-w f': 'open-this:split-right'
'ctrl-w F': 'open-this:split-down'
'g m': 'vim-mode-plus-user:quick-highlight'
'space m': 'quick-highlight:toggle'
'space M': 'quick-highlight:clear'
'g q q': 'autoflow:reflow-selection'
'enter': 'editor:newline-below'
'g F': 'goto-definition:go'
'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active':
'escape': 'autocomplete-plus:cancel'
'atom-text-editor.vim-mode-plus:not(.normal-mode)':
'escape': 'vim-mode-plus:activate-normal-mode'
'atom-text-editor.vim-mode-plus.insert-mode':
'j j': 'vim-mode-plus:activate-normal-mode'
'atom-text-editor.vim-mode-plus:not(.insert-mode)':
'|': 'pane:split-right'
'_': 'pane:split-down'
't t': 'atom-vim-like-tab:new'
't q': 'atom-vim-like-tab:close'
't [': 'atom-vim-like-tab:previous'
't ]': 'atom-vim-like-tab:next'
', t': 'atom-vim-like-tab:list'
', b': 'nuclide-open-filenames-provider:toggle-provider'
'ctrl-j': 'window:focus-pane-below'
'ctrl-k': 'window:focus-pane-above'
'ctrl-h': 'window:focus-pane-on-left'
'ctrl-l': 'window:focus-pane-on-right'
'.platform-darwin':
'cmd-,': 'settings-view:open'
'ctrl-f f': 'project-find:show'
'ctrl-b': 'nuclide-open-filenames-provider:toggle-provider'
'.platform-darwin atom-workspace':
'ctrl-p': 'nuclide-quick-open:find-anything-via-omni-search'
'cmd-p': 'nuclide-quick-open:find-anything-via-omni-search'
', o': 'advanced-open-file:toggle'
'cmd-shift-o': 'advanced-open-file:toggle'
'.advanced-open-file atom-text-editor':
'ctrl-j': 'advanced-open-file:move-cursor-down'
'ctrl-k': 'advanced-open-file:move-cursor-up'
'cmd-j': 'advanced-open-file:move-cursor-bottom'
'cmd-k': 'advanced-open-file:move-cursor-top'
'tab': 'advanced-open-file:autocomplete'
'body atom-text-editor.autocomplete-active':
'ctrl-k': 'autocomplete-plus:move-up'
'ctrl-j': 'autocomplete-plus:move-down'
'pageup': 'autocomplete-plus:page-up'
'pagedown': 'autocomplete-plus:page-down'
'home': 'autocomplete-plus:move-to-top'
'end': 'autocomplete-plus:move-to-bottom'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment