Hacker News new | ask | show | jobs
by wyclif 2105 days ago
In Vim, I would love to be able to map Ctrl-[ (which is what I use instead of Esc to change modes) to Ctrl-thumbkey just to relieve the right pinky. I'm using a standard mechanical TKL layout now. Or maybe just map Esc to a single thumb key.
1 comments

Yeah as a heavy vimmer I also used Ctrl-[ with Caps-as-Ctrl for the longest time on a regular full-sized keyboard. Esc is great to have on a thumb key though. I used it on one of the outer ones on my ErgoDox and it worked well. A nice vim quality of life improvement was programming keyboard macros for `Esc : w Enter` and for quit.

It's not new in the vim world, but now what I use is `jk` pressed at the same time. Adjacent finger pairs are pretty easy to coordinate fast combos with -- just sort of jab your hand. Since it's in the keyboard firmware (QMK) it works in all contexts and not just vim, but the `jk` combo is also something that I can configure in the vimrc to use on my laptop.