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
+