Last active
March 31, 2021 05:53
-
-
Save edwardrf/a7e8c170571730312d2e to your computer and use it in GitHub Desktop.
xmodmap config to map caps_lock to mode_switch and map mode_switch + ijkl to up left down right
This file contains 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
#!/bin/bash | |
xmodmap -e "clear lock" | |
xmodmap -e "keysym Caps_Lock = Mode_switch Mode_switch" | |
xmodmap -e "keysym i = i I Up Up" | |
xmodmap -e "keysym k = k K Down Down" | |
xmodmap -e "keysym j = j J Left Left" | |
xmodmap -e "keysym l = l L Right Right" | |
xmodmap -e "keysym u = u U Home Home" | |
xmodmap -e "keysym o = o O End End" | |
xmodmap -e "keysym u = y Y Prior Prior" | |
xmodmap -e "keysym o = h H Next Next" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment