Skip to content

Instantly share code, notes, and snippets.

@giuscri
Last active August 8, 2018 12: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 giuscri/c43c82b5500565fa25089e399c40ad3e to your computer and use it in GitHub Desktop.
Save giuscri/c43c82b5500565fa25089e399c40ad3e to your computer and use it in GitHub Desktop.
!! we'll need to remap these keys
clear Mod1
clear Control
clear Lock
!! on the right: shadow menu-key, swap alt and control
keycode 108 = Control_R
keycode 135 = Alt_R
!! map left-control to caps-lock,
!! maps caps-lock to shift+left-control
keycode 66 = Control_L Caps_Lock
!! refresh modifiers for the newer layout
add Mod1 = Alt_L Alt_R
add Control = Control_L Control_R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment