Re:To understand the command line...
by sp332 on Monday October 01, 2012 @11:04AM
(#4597381)
I'd rather use ASDF but those keys are taken by other vi commands. Anyway, is there a way to press "Esc" without moving your whole arm?
[ Parent
| on HN ]
A lot of Vim users remap <caps lock> to <esc>.
I advocate remapping jj to escape.
Put this in your .vimrc or just try it out from the command bar:
inoremap jj <Esc>
In Vim, you can use CTRL-[.