aboutsummaryrefslogtreecommitdiffstats
path: root/_Xmodmap
diff options
context:
space:
mode:
Diffstat (limited to '_Xmodmap')
-rw-r--r--_Xmodmap18
1 files changed, 18 insertions, 0 deletions
diff --git a/_Xmodmap b/_Xmodmap
new file mode 100644
index 0000000..e6e0ef0
--- /dev/null
+++ b/_Xmodmap
@@ -0,0 +1,18 @@
+!! ~/.Xmodmap
+!!
+!! Custom keymaps
+!!
+!! Aaron LI
+!! 2015/06/15
+!!
+
+!! Swap 'Caps Lock' with 'Left Control'
+!! Reference: http://c2.com/cgi/wiki?RemapCapsLock
+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
+