Bringing the Space Cadet to Xorg
March 25, 2022
After building a solid dependence with the Ergodox, I was pretty confused while firing Emacs and some bunch of Clojure code on my portable laptop. Since QMK provide Space Cadet support directly inside the firmware, parenthesis are automatically inserted without extra configuration.
Xcape to the rescue
I found a neat way to simulate this behaviour with a little tool named xcape:
Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
echo "xcape -e 'Shift_L=parenleft;Shift_R=parenright'" >> ~/.xinitrc