]> git.wh0rd.org - home.git/blobdiff - .Xmodmap
cvs-import: modernize a bit
[home.git] / .Xmodmap
index f719975cc201904ce892ad6f63b55db9cb564795..80578b4fb2e9c3f47038c6127320b73c46774bea 100644 (file)
--- a/.Xmodmap
+++ b/.Xmodmap
@@ -2,6 +2,12 @@
 ! /usr/include/X11/keysymdef.h
 ! http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys
 
+! keycode # = <no mod> <+shift> <+mode> <+mode+shift>
+
+! U203D: ‽
+! U2048: ⁈
+! U2049: ⁉
+
 ! These turn caps lock key into a modifier for generating
 ! umlauted characters ... to toggle caps lock, hold shift
 ! while hitting it
@@ -25,15 +31,22 @@ keycode 57 = n N ntilde Ntilde
 keycode 58 = m M Multi_key
 keycode 15 = 6 asciicircum dead_acute dead_circumflex
 keycode 19 = 0 parenright degree masculine
-keycode 10 = 1 exclam exclamdown onehalf
+keycode 10 = 1 exclam exclamdown U2049
 keycode 54 = c C ccedilla Ccedilla
 keycode 46 = l L lstroke Lstroke
 keycode 24 = q Q egrave Egrave
 keycode 29 = y Y mu
 keycode 60 = period greater guillemotright
+keycode 61 = slash question questiondown U2048
 keycode 59 = comma less guillemotleft
 keycode 33 = p P currency cent
 
+! Let caps+arrows map to pgup/pgdn/home/end like in ChromeOS.
+keycode 111 = Up NoSymbol Prior
+keycode 113 = Left NoSymbol Home
+keycode 114 = Right NoSymbol End
+keycode 116 = Down NoSymbol Next
+
 keycode 174 = XF86AudioLowerVolume
 keycode 176 = XF86AudioRaiseVolume
 keycode 160 = XF86AudioMute