]> git.phdru.name Git - dotfiles.git/blob - lib/X11/.Xmodmap
24169440f3d02bbfbef47457f434fd03ede34b22
[dotfiles.git] / lib / X11 / .Xmodmap
1 !clear shift
2 !clear control
3 !clear mod1
4 !clear mod2
5 !clear mod3
6 !clear mod4
7
8 !add shift   = Shift_L Shift_R
9 !add control = Control_L Control_R
10 !add mod1    = Alt_L Alt_R
11 !add mod2    = Num_Lock
12
13 ! Use CapsLock as rus/lat switch key.
14
15 !clear lock
16 !clear mod5
17 !add mod5 = Caps_Lock Mode_switch
18
19 !       Key       Base            Shift           Caps    ShiftCaps
20 !------------------------------------------------------------------------
21 !keycode 113     = Alt_R
22
23 ! Map keypad keys, esp. with Shift: my kbd returns digits
24 keycode 79 = KP_Home KP_Home KP_Home
25 keycode 80 = KP_Up KP_Up KP_Up
26 keycode 81 = KP_Prior KP_Prior KP_Prior
27 keycode 83 = KP_Left KP_Left KP_Left
28 keycode 85 = KP_Right KP_Right KP_Right
29 keycode 87 = KP_End KP_End KP_End
30 keycode 88 = KP_Down KP_Down KP_Down
31 keycode 89 = KP_Next KP_Next KP_Next
32 keycode 90 = Insert Insert Insert
33 keycode 91 = Delete Delete Delete
34
35 ! Disable RightWin
36 !keycode 94     =
37
38 ! RightCtrl = Compose
39 !keycode 105     = Multi_key
40
41 !
42 ! Some examples
43 !
44
45 !!!!!
46 !!!!! Swap Caps_Lock and Control_R
47 !!!!!
48 ! remove Lock = Caps_Lock
49 ! remove Control = Control_R
50 ! keysym Control_R = Caps_Lock
51 ! keysym Caps_Lock = Control_R
52 ! add Lock = Caps_Lock
53 ! add Control = Control_R
54
55 !!!!! make backspace be ` and ~
56 ! keysym BackSpace = quoteleft asciitilde
57 ! keycode 22 = quoteleft asciitilde
58
59 !!!!! move around the escape key (PC only!)
60 !!!!! `/~ key does Escape (shifted, ~)
61 ! keycode 49 = Escape asciitilde