caps lock as ctrl
[dotfiles] / .Xmodmap
index db39ce3..4983490 100644 (file)
--- a/.Xmodmap
+++ b/.Xmodmap
@@ -1,12 +1,9 @@
 !
 ! Swap Caps_Lock and Control_L
 !
 !
 ! Swap Caps_Lock and Control_L
 !
-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
+clear lock
+clear control
+add control = Caps_Lock Control_L Control_R
 
 !
 ! Natural scrolling
 
 !
 ! Natural scrolling