Skip to content

Instantly share code, notes, and snippets.

@peyao
Last active August 11, 2016 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peyao/b729b47412b4139653cb88a447041d19 to your computer and use it in GitHub Desktop.
Save peyao/b729b47412b4139653cb88a447041d19 to your computer and use it in GitHub Desktop.
Atom keybinding overrides (/home/peter/.atom/keymap.cson)
## Peter Yao (github.com/peyao)
## Last Updated: Aug 11 2016
# vim overrides
'atom-text-editor.vim-mode':
'ctrl-c': 'core:copy'
'ctrl-v': 'core:paste'
'ctrl-d': 'find-and-replace:select-next' # ctrl-d to select next instance of highlighted string
'atom-text-editor.vim-mode:not(.insert-mode)':
'ctrl-d': 'find-and-replace:select-next' # ctrl-d to select next instance of highlighted string
# ---
'.platform-linux atom-text-editor':
# remove weird ctrl-r prompt
'ctrl-r': 'unset!'
# ---
'body':
# proper tab navigation
'ctrl-tab ^ctrl': 'unset!'
'ctrl-tab': 'pane:show-next-item'
'ctrl-shift-tab ^ctrl': 'unset!'
'ctrl-shift-tab': 'pane:show-previous-item'
# ---
'.platform-win32 atom-text-editor, .platform-linux atom-text-editor':
'ctrl-d': 'find-and-replace:select-next' # ctrl-d to select next instance of highlighted string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment