Skip to content

Instantly share code, notes, and snippets.

@peteygao
Last active November 16, 2016 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peteygao/89b2f23265dda9aa0d2803d2ce0081ae to your computer and use it in GitHub Desktop.
Save peteygao/89b2f23265dda9aa0d2803d2ce0081ae to your computer and use it in GitHub Desktop.
xmodmap to swap Ctrl_L with Alt_L and remap Capslock to BackSpace
remove control = Control_L
remove mod1 = Alt_L
keycode 37 = Alt_L
keycode 64 = Control_L
add control = Control_L
add mod2 = Alt_L
clear lock
keycode 66 = BackSpace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment