3 ms·
inoremap jj <esc> is what you need. Allows one to double press j to enter normal mode instead of reaching for the Esc key.
by madlynormal 13y ago
inoremap jj <esc> is what you need. Allows one to double press j to enter normal mode instead of reaching for the Esc key.
- bananas 13y agoInteresting! Will try that - thanks :)
- nobleach 13y agobelieve it or not, 'jk' is actually faster as you don't wait for the 'j' key to travel back up. You get so used to it though, you get upset when it's not there by default. I find it's one of the first things I do when I open vim on another machine.