Skip to content

Instantly share code, notes, and snippets.

@paulcsmith
Created November 14, 2013 19:34
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 paulcsmith/7472916 to your computer and use it in GitHub Desktop.
Save paulcsmith/7472916 to your computer and use it in GitHub Desktop.
My key bindings for pairing with someone using VIM
" Type jj in insert mode to escape to command mode
:imap jj <Esc>
" Type j; in insert mode to escape to command mode with a : already typed
:imap j; <Esc>:
" Type ;w in insert mode to escape to command mode with :w already typed
:imap ;w <Esc>:w
" Use semicolon instead of colon. Don't have to hit shift now
map ; :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment