XCAPE
January 14, 2023 |
permanent
Linux tool #
- tags
- ,
xcape allows you to use a modifier key as another key when pressed and released on its own. Note that it is slightly slower than pressing the original key, because the pressed event does not occur until the key is released. The default behaviour is to generate the Escape key when Left Control is pressed and released on its own. (If you don’t understand why anybody would want this, I’m guessing that Vim is not your favourite text editor ;)
Or to setup Hyper-modifer keys: keys that behave differently when held.
How did I discover it? #
https://www.youtube.com/watch?v=70IxjLEmomg it shows very good xmonad setup the authors uses with xcape to configure hyper modifier keys. https://superuser.com/a/1583869
How I am using it #
I mapped <tab> and <\> as hyper modifier key of <win/command>