Mapping Caps Lock to Escape
For macOS
- Open “System Preferences” > “Keyboard” > “Keyboard Shortcuts…” > “Modifier Keys” > From the dropdown menu of “Caps Lock Key”, select “Escape”.
For Linux
You can use keyd to remap Caps Lock to Escape.
- Follow the installation instructions on the keyd GitHub page. I installed