Skip to content

Instantly share code, notes, and snippets.

@tridungpham
Last active January 30, 2023 08:33
Show Gist options
  • Save tridungpham/c27221ba33a62db19448af3f76066703 to your computer and use it in GitHub Desktop.
Save tridungpham/c27221ba33a62db19448af3f76066703 to your computer and use it in GitHub Desktop.
Cool repo to map caps lock to both escape & ctrl at the same time.

I used to map Caps Lock to Escape just because I never use Caps Lock at all. Recently I was interested in hhkb layout, with the CTRL key at the position of Caps Lock. And then I found this repo:

https://github.com/rvaiya/keyd

Basically, it allows mapping Caps Lock to CTRL/Escape at the same time. When hitting CAPS, it becomes ESC but when using CAPS in conjuction with other keys (like when we use CTRL-C, CTRL-V) then CAPS become CTRL.

Absolutely fantastic tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment