Skip to content

Instantly share code, notes, and snippets.

@linktohack
Last active August 29, 2015 14:21
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 linktohack/14736f2224b3b1660ddc to your computer and use it in GitHub Desktop.
Save linktohack/14736f2224b3b1660ddc to your computer and use it in GitHub Desktop.
CapsLock as LCtrl, LCtrl as RAtl and LAlt as RCtrl
clear lock
clear control
clear mod1
clear mod4
! Caps_Lock
keycode 66 = Control_L
! Control_L
keycode 37 = Super_L
! Super_L
keycode 133 = Alt_L
! Alt_L
keycode 64 = Control_L
! Menu
keycode 135 = Super_L
add control = Control_L Control_R
add mod1 = Alt_L Alt_R
add mod4 = Super_L Super_R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment