Skip to content

Instantly share code, notes, and snippets.

@zorbash
Last active December 23, 2015 00:09
Show Gist options
  • Save zorbash/6551740 to your computer and use it in GitHub Desktop.
Save zorbash/6551740 to your computer and use it in GitHub Desktop.
Map your caps key to esc
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' # map caps to escape
setxkbmap -option ctrl:nocaps #disable caps default functionality
setxkbmap -option grp:alt_shift_toggle us,gr # map alt shift to layout toggle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment