Skip to content

Instantly share code, notes, and snippets.

@flashingpumpkin
Created September 15, 2013 10:43
Show Gist options
  • Save flashingpumpkin/6569609 to your computer and use it in GitHub Desktop.
Save flashingpumpkin/6569609 to your computer and use it in GitHub Desktop.
Swapping Option (Alt) and Command (Meta/Super) keys on an Apple keyboard for use in Linux / Emacs
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
keycode 133 = Alt_L Meta_L
keycode 134 = ISO_Level3_Shift
keycode 108 = Super_R
add Shift = Shift_L Shift_R
add Lock = Caps_Lock
add Control = Control_L Control_R
add Mod1 = Alt_L
add Mod2 = Num_Lock
add Mod4 = Super_L Super_R
add Mod5 = Mode_switch ISO_Level3_Shift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment