MAPPING CONTROL AND ESCAPE TO CAPSLOCK
I try to use default keybindings and keyboard layouts as much as possible, but as a vim user, I’ve always mapped Caps Lock to escape wherever possible. On certain mechanical keyboards (I use the Drop ALT) you can map multiple functions to the same key, so a tap presses one key while holding it treats it as another. I never thought about this much until recently, but realized this functionality is incredible for vim and tmux users:
Map
Caps Lock
toEscape
when tapped andControl
when held. You can use vim splits withC-w
and tmux panes withC-b
without needing to reach forControl
.
Game changer for comfort.