Skip to content

Instantly share code, notes, and snippets.

@evanhsu
Created July 25, 2016 23:10
Show Gist options
  • Save evanhsu/25e58ab8690a90199b4d753c12e13626 to your computer and use it in GitHub Desktop.
Save evanhsu/25e58ab8690a90199b4d753c12e13626 to your computer and use it in GitHub Desktop.
Atom Keymap
# vim-mode-plus keymaps (package required)
#---#
# Vim - map 'jk' to 'esc'
'atom-text-editor':
'k': 'exit-insert-mode-if-preceeded-by-j'
# surround: ys
# -------------------------
'S': 'vim-mode-plus:surround-smart-word'
'd s': 'vim-mode-plus:delete-surround-any-pair'
'c s': 'vim-mode-plus:change-surround-any-pair'
'y s': 'vim-mode-plus:surround'
'y s w': 'vim-mode-plus:surround-word'
'y s m': 'vim-mode-plus:map-surround'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment