3 ms·
Sexy idea, but as someone who started using vi in 1987, a software solution seems way better. I map the seldom-otherwise-used key sequence jk to <ESC>. If I w
by lcuff 4y ago
Sexy idea, but as someone who started using vi in 1987, a software solution seems way better. I map the seldom-otherwise-used key sequence jk to <ESC>. If I were doing it over, kj would be slightly better, for times when I am Just Kidding. I do this in both .vimrc and .inputrc (using different syntax, sigh). My fingers generate the escape without thought. (As is true for tons of vim normal mode actions I use regularly.)
- Lio 4y agoNah, that’s not the way. If you go that route it’ll only work in Vim itself and not other programs with a vi-like interface. Better to map caps to ctrl and build up the muscle memory to use ctr-[ If you do that you also get easy access to all those other Insert mode ctrl shortcuts.
- toxik 4y agoBoth jk and kj appear in normal writing for me :( I briefly considered a foot pedal but it seems to me that foot dexterity is far lower than finger, meaning typing ihello<esc> is FAR faster than <pedal down>hello<let go>, not to mention that pedal travel is way longer. Of course you map esc to caps.
- deleted 4y ago[deleted]
- TYMorningCoffee 4y agoI did jkj instead.