6 ms·
Exactly. The escape key has never been an issue for me either (for what it's worth, I use Spacemacs as my primary editor). I just open the macOS preferences, a
by qubitcoder 8y ago
Exactly. The escape key has never been an issue for me either (for what it's worth, I use Spacemacs as my primary editor).
I just open the macOS preferences, and remap Caps Lock to Control. Then escape becomes a Caps Lock + [ combination. Simple, and no fumbling around for an Escape key.
This also works well on both macOS and Linux, especially when moving about the command line (e.g. Ctrl+A / Ctrl+E to move to the beginning/end of the current line, respectively). See [1] for more shortcuts. Especially useful is Ctrl+K to cut text after the cursor, and then Ctrl+Y to paste it back.
Of course, the regular control key will do the same thing. But using Caps Lock as control reduces strain, at least for me. In fact, it's the first change I make on macOS, Linux, and Windows.
And on Ubuntu, gnome-tweak-tool makes it trivial to make Caps Lock and additional Control key (if you really need Caps Lock, you can also swap Caps Lock and Control).
[1] https://www.howtogeek.com/howto/ubuntu/keyboard-shortcuts-for-bash-command-shell-for-ubuntu-debian-suse-redhat-linux-etc/ https://www.howtogeek.com/howto/ubuntu/keyboard-shortcuts-fo...