Why use Esc in vim? [closed]
I have mapped Escape to otherwise unused Caps Lock. This is a common method to streamline vim's usage. This article has some alternative solutions, too. The same article links to tweaks to make the Escape-Capslock switch system-wide if you prefer.
I have the key sequence jk
mapped to Esc
.
You might ask, so what happens when you come across a word with jk
. No problem. Type j
, wait for half a second and then type k
. Yes, that's non-ideal but the advantages of not having to move your hands of home row is much more.
I highly recommend jk
sequence as `Esc.
Other variations of the same idea are jj
- which in my humble opinion wont work for me. I use j
for moving down - as others.