!! ~/.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