Re:Learn Vim Progressively
by tudorizer on Monday August 29, 2011 @09:10AM
(#2937005)
I have jj mapped to exit from insert mode and save the file. This trick was found in a long SO thread, plus I never had the need to type something with a double j ;)
[ Parent
| on HN ]
I have the even faster jk mapped to ESC. And if you want to type jk in your text you just have to
- type j - wait 1 second - type k.
Very nice!
For those wondering how to do this, you can try it out with
:imap jk <esc>
(imap means "use this mapping when I'm in insert mode".)
If you like it, add everything but the : to your .vimrc