21 ms·
If you remap Esc to jk you don't even have to lift your fingers.
by vitalique 12y ago
If you remap Esc to jk you don't even have to lift your fingers.
- Touche 12y agoWhat is jk?
- vitalique 12y agoJust key 'j' followed by 'k'. I have this in my vimrc for quickly jumping out of insert mode: inoremap jk <ESC>
- Touche 12y agoTo each his own. I'm very fluid with my esc key hitting. I find it to be a very satisfying motion.
- sozforex 12y agoimap jk <Esc> In insert mode. First press j, in the same second press k.
- vacri 12y agoAnother common one is Capslock.
- vutekst 12y agoMapping capslock to be esc is what made vim possible for me.
- calvins 12y agoAgreed. I don't know how anybody could use vi with escape unmapped. It's also very useful outside vi though, since esc is the default 'cancel' key in many cases. For example, most browser dialogs (and keyboard-navigable menus) can be closed with esc, and it works for many desktop dialogs too (at least on Linux).
- splawn 12y agoIm too lazy to move two fingers for that, instead mine is mapped to jj. =P