4 ms·
Just use kj for escape. It makes me so happy not to take my fingers off the home row where they belong. :inoremap kj <ESC> It's liberating. Also add this one
by WildUtah 10y ago
Just use kj for escape. It makes me so happy not to take my fingers off the home row where they belong.
:inoremap kj <ESC>
It's liberating. Also add this one temporarily to get yourself into the habit:
:inoremap <ESC> esc
Some people like jk instead of kj. On rare occasions I actually type the string "jk", especially when programming with quaternions or other three and four dimensional imaginary numbers. Feel free to experiment.
- Lio 10y agoThe only problem I've found with that is when using other vi like programs that don't allow insert mode mappings. I've found it easier to stick to C-[ simply because it's universally available in the terminal.
- micah94 10y agoOk old school vi user here...I'm going to admit that I no idea about ctrl-[ until your comment.