What is Nostr?
Bernie /
npub1zka…l29r
2023-11-10 16:23:59

Bernie on Nostr: I've always remapped the useless Caps Lock key to CTRL key. There's a setting for it ...

I've always remapped the useless Caps Lock key to CTRL key. There's a setting for it on both X11 and Wayland.

Some #vim users remap it to ESC, another frequently used key that's hard to reach from the home row.

So why can't we have both? Caps Lock can act as ESC when pressed alone, or CTRL when pressed in combination with another key.

Turns out multiple people already thought about this. Here's a simple Python script that does this:
https://github.com/wbolster/evcape

#programming #linux #wayland
Author Public Key
npub1zkat0yxe6359dee9qrfjwnhwtx9z4hu34y6gzg3hu3phgdp4758smll29r