-
Notifications
You must be signed in to change notification settings - Fork 4
/
Xmodmap
54 lines (43 loc) · 1.26 KB
/
Xmodmap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
! Swap Caps_Lock and Control_L
! https://superuser.com/questions/268269/how-to-swap-ctrl-and-caps-lock-using-xmodmap
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
! vim arrow keybinding
keycode 133 = Mode_switch
keysym h = h H Left
keysym j = j J Down
keysym k = k K Up
keysym l = l L Right
! keysym ㄴ = ㄴ H Left
! keysym ㅈ = ㅈ L Right
! keysym ㄱ = ㄱ K Up
! keysym ㅇ = ㅇ J Down
! vim friendly Special Characters binding
keysym a = a A exclam
keysym s = s S at
keysym d = d D numbersign
keysym f = f F dollar
keysym g = g G percent
keysym y = y Y asciicircum
keysym u = u U ampersand
keysym q = q Q asterisk
keysym w = w W plus
keysym e = e E minus
keysym r = r R underscore
keysym b = b B underscore
keysym n = n N minus
keysym semicolon = semicolon colon equal
keysym comma = comma greater parenleft
keysym period = period less parenright
keysym i = i I braceleft
keysym o = o O braceright
keysym comma = comma less parenleft
keysym period = period greater parenright
keysym slash = slash question question
keysym apostrophe = apostrophe quotedbl Escape
keysym m = m M backslash
!keysym space = space space backslash