Last active
December 12, 2018 21:08
-
-
Save jairovsky/f865bd2d866b84b5b61abc1d5e8b600d to your computer and use it in GitHub Desktop.
xmodmap: invert keyboard top-row numbers with symbols, square brackets with curly brackets, and backslash with pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keycode 10 = exclam 1 1 exclam onesuperior exclamdown | |
keycode 11 = at 2 2 at twosuperior onehalf | |
keycode 12 = numbersign 3 3 numbersign threesuperior threequarters | |
keycode 13 = dollar 4 4 dollar sterling onequarter | |
keycode 14 = percent 5 5 percent cent threeeighths | |
keycode 15 = diaeresis 6 6 asciicircum notsign notsign | |
keycode 16 = ampersand 7 7 ampersand braceleft seveneighths | |
keycode 17 = asterisk 8 8 asterisk bracketleft trademark | |
keycode 18 = parenleft 9 9 parenleft bracketright plusminus | |
keycode 19 = parenright 0 0 parenright braceright degree | |
keycode 35 = braceleft bracketleft bracketright braceright ordfeminine dead_macron | |
keycode 51 = braceright bracketright backslash bar masculine masculine | |
keycode 94 = bar backslash backslash bar masculine dead_breve masculine dead_breve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -L -o ~/.Xmodmap https://gist.github.com/jairovsky/f865bd2d866b84b5b61abc1d5e8b600d/raw/fac5b9a443823b9a14659610ffc9a5197f9295ea/.Xmodmap
xmodmap ~/.Xmodmap
No more shift-holding for typing parens or curly braces :)