Skip to content

Instantly share code, notes, and snippets.

@damianbaar
Created March 1, 2017 06:03
Show Gist options
  • Save damianbaar/15b859fd6545bf6bbc1eb4f6d173082f to your computer and use it in GitHub Desktop.
Save damianbaar/15b859fd6545bf6bbc1eb4f6d173082f to your computer and use it in GitHub Desktop.
atom keymap
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
# to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# '.editor':
# 'enter': 'editor:newline'
#
# 'body':
# 'ctrl-P': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
'body atom-text-editor.normal-mode':
', ]': 'pane:show-next-item'
', [': 'pane:show-previous-item'
', b d': 'core:close'
'atom-workspace:not([mini])':
'ctrl-w f': 'choose-pane:start'
'.platform-darwin atom-workspace atom-text-editor:not([mini]).normal-mode, .platform-linux atom-workspace atom-text-editor:not([mini])':
'space t': 'ide-purescript:show-tooltip'
'atom-text-editor.vim-mode-plus.normal-mode':
'\\': 'easy-motion-redux:letter'
# 'space f': 'narrow:fold'
'space o': 'narrow:symbols'
'space l': 'narrow:lines'
'space c': 'narrow:linter'
'space G': 'narrow:git-diff'
'space B': 'narrow:bookmarks'
'cmd->': 'linter:next-error'
'cmd-<': 'linter:previous-error'
', g ;': 'last-cursor-position:previous'
', g \'': 'last-cursor-position:next'
'ctrl-w x': 'paner:swap-pane'
# 'ctrl-w o': 'paner:merge-item'
'ctrl-w X': 'paner:send-item'
# 'ctrl-w enter': 'paner:maximize' # maximize feature is already bundled in vmp
'ctrl-w K': 'paner:very-top'
'ctrl-w J': 'paner:very-bottom'
'ctrl-w H': 'paner:very-left'
'ctrl-w L': 'paner:very-right'
'ctrl-w v': 'paner:split-left'
'.platform-darwin atom-workspace':
'cmd-n': 'advanced-open-file:toggle'
'.platform-darwin':
'cmd-o': 'fuzzy-finder:toggle-file-finder'
'ctrl-p': 'fuzzy-finder:toggle-file-finder'
'cmd-p': 'project-plus:toggle-project-finder'
'ctrl-w o': 'pane:merge-all-panes'
'atom-workspace atom-text-editor:not([insert-mode])':
'ctrl-o': 'last-cursor-position:previous'
'ctrl-i': 'last-cursor-position:next'
', g d': 'import-js:goto'
', g i': 'import-js:import'
'shift-enter': 'jumpy:toggle'
'body atom-text-editor.autocomplete-active':
'ctrl-tab': 'autocomplete-plus:move-up'
'tab': 'autocomplete-plus:move-down'
#'.vim-mode.visual-mode:not(.mini)':
# 'j j': 'vim-mode:activate-command-mode'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment