Created
November 14, 2013 19:34
-
-
Save paulcsmith/7472916 to your computer and use it in GitHub Desktop.
My key bindings for pairing with someone using VIM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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