Skip to content

Instantly share code, notes, and snippets.

@jesg
Last active May 11, 2016 14:00
Show Gist options
  • Save jesg/113e3ca931de8f02572b9192581c4154 to your computer and use it in GitHub Desktop.
Save jesg/113e3ca931de8f02572b9192581c4154 to your computer and use it in GitHub Desktop.
swap esc and tilde with xmodmap
clear Control
clear Lock
keycode 9 = grave asciitilde
keycode 49 = Escape
keycode 37 = Control_L
keycode 66 = Control_L
add Control = Control_L
! remap keys back from hhk
clear Control
clear Lock
keycode 49 = grave asciitilde
keycode 9 = Escape
! reset left ctrl
keycode 66 = Control_L
keycode 37 = Control_L
add Control = Control_L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment