Created
May 24, 2014 11:12
-
-
Save koorgoo/22b7a1205cb8f79a5ea4 to your computer and use it in GitHub Desktop.
Vim's Esc pain
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
" Easy switch | |
set nopaste | |
set pastetoggle=<F2> | |
" No more pain in your ass | |
" i - enter Insert mode | |
" ii - exit Insert mode | |
imap ii <ESC> | |
" Turn on Insert (paste) mode | |
set paste | |
" Turn off Insert (paste) mode | |
set nopaste | |
set paste! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment