Last active
September 5, 2021 01:59
-
-
Save tomdaley92/7a97231fd70ef89eedd0879296b82a3d to your computer and use it in GitHub Desktop.
Debian Caps-lock Re-purposing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hyper-caps() { | |
xmodmap ~/.Xmodmap -verbose | |
} | |
normal-caps() { | |
setxkbmap -layout us | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keycode 66 = Mode_switch | |
keysym j = j J Left | |
keysym l = l L Right | |
keysym i = i I Up | |
keysym k = k K Down | |
keysym u = u U Home | |
keysym o = o O End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For now, I'm not even bothering with any automation and just ended up creating some quick and dirty convenience functions in my
~/.bashrc