Recently I was reading http://learnvimscriptthehardway.stevelosh.com, and he said a very fast way to improve your speed in vim is to do
inoremap jk <esc>. Sure, that made sense.
Then when I next starting using Visual mode, I noticed jk did not work. Sure, yeah, that makes sense. So I added
vnoremap jk <esc> also.
Next I realized that I needed to use
<esc> in normal mode too. This is useful when you want to cancel a command, say you accidentally typed in a huge number, and were going to press
dd when you caught yourself. To get rid of the count, you need to do
<esc> in Normal mode as well.
So I basically just removed everything else and put
noremap jk <esc>. But obviously I can no longer smoothly use
j to scroll down in vim since it is waiting to see (hanging) if I enter
If I can't use
jk in all my modes then there's no point in doing this mapping.
So: Is there any way to universally and efficiently use something like
jk to escape?