Hacker News new | ask | show | jobs
by creakingstairs 1582 days ago
The first thing I do when I get a new computer is mapping caps lock to esc for vim :p
1 comments

It's more standard (in the sense that the Sun keyboard did this) and more useful to map it to ctrl. You can use ^[ to get esc.
I found it pretty useful to do both. A quick press is esc while holding it down is ctrl. I do find caps lock useful enough to keep it around still, so hitting left shift + right shift toggles that.
TIL! I'm so used to binding it to esc but maybe I'll give ctrl a go