Last active
February 27, 2016 13:05
-
-
Save loggerhead/fb6c7d69643c84929e26 to your computer and use it in GitHub Desktop.
My xcape config
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
# Append this to `~/.profile` | |
# Swap `Alt` and `Win` | |
setxkbmap -option 'altwin:swap_alt_win' | |
# Map `Caps` to `Escape` and `Control` | |
setxkbmap -option 'caps:ctrl_modifier' | |
xcape -e 'Caps_Lock=Escape' -t 300 | |
# Map left `Ctrl` to `F12` | |
xcape -e 'Control_L=F12' | |
# Map `Ctrl+p/n/f/b` to arrow key | |
# gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment