aboutsummaryrefslogtreecommitdiffstats
path: root/_Xmodmap
blob: 9484e3d7b1f51c620aca3f8adf85cbf0b3e415c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
!! ~/.Xmodmap
!!
!! Custom keymaps
!!
!! Aaron LI
!! 2015/06/15
!!

!! Swap 'Caps Lock' with 'Left Control'
!! Reference: http://c2.com/cgi/wiki?RemapCapsLock
!! Or just use 'setxkbmap -option ctrl:nocaps'
remove Lock = Caps_Lock
remove Control = Control_L
keysym Caps_Lock = Control_L
!! If don't want a 'Caps Lock' at all, just comment the following *1* line.
!keysym Control_L = Caps_Lock
add Control = Control_L
add Lock = Caps_Lock