Created
April 28, 2016 19:10
-
-
Save HeLiBloks/a77d8bcd0c5f4ffd47d05b47ee880915 to your computer and use it in GitHub Desktop.
remap esc and capslock
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
#this is for a file that should get sourced on startup | |
#call it with xmodmap ~/.Xmodmap | |
cat > ~/.Xmodmap << EOF | |
remove Lock = Caps_Lock | |
add Lock = Escape | |
keysym Caps_Lock = Escape | |
keysym Escape = Caps_Lock | |
EOF | |
#or place in .xinitrc: | |
setxkbmap -option caps:escape |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment