Skip to content

Instantly share code, notes, and snippets.

@nathants
Created August 16, 2022 07:55
Show Gist options
  • Save nathants/d60df8b013c397e2bbee4f08fafca0e4 to your computer and use it in GitHub Desktop.
Save nathants/d60df8b013c397e2bbee4f08fafca0e4 to your computer and use it in GitHub Desktop.
! for thinkpad laptop and thinkpad usb keyboard
! capslock -> alt
clear Lock
keycode 0x42 = Meta_L
! ctrl/alt/command -> ctrl/alt/ctrl
clear control
clear mod1
clear mod4
keycode 37 = Control_L
keycode 133 = Control_L
keycode 64 = Alt_L Meta_L
add control = Control_L Control_R
add mod1 = Alt_L Meta_L
add mod4 = Super_L Super_R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment