3 ms·
I also map caps lock to control OS-wide on both macOS (Preferences > Keyboard > Modifier Keys) and on Linux (using gnome-tweak-tool). Instead of using jj or es
by qubitcoder 8y ago
I also map caps lock to control OS-wide on both macOS (Preferences > Keyboard > Modifier Keys) and on Linux (using gnome-tweak-tool).
Instead of using jj or escape in Vim/Spacemacs, I just use control+[.
With caps lock mapped as control, it's a single fast motion--left pinky to caps lock, and right pinky to [. I've been using this setup for years. It's one of the first things I setup on a new computer/OS.
Mapping caps lock to control also has other benefits. You can quickly zip around the terminal using control+a/e/k/y/d/r etc. As an added bonus, the same keyboard shortcuts work equally well on both macOS and Linux [1].
[1] https://www.ostechnix.com/list-useful-bash-keyboard-shortcuts/ https://www.ostechnix.com/list-useful-bash-keyboard-shortcut...