caps lock as ctrl
authorpatrick nsukami <ndkpatt@gmail.com>
Sat, 27 Feb 2016 23:46:42 +0000 (23:46 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Sat, 27 Feb 2016 23:46:42 +0000 (23:46 +0000)
.Xmodmap

index db39ce3..4983490 100644 (file)
--- a/.Xmodmap
+++ b/.Xmodmap
@@ -1,12 +1,9 @@
 !
 ! 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