From 258b5a48933b2c34dcfb042029d477ba285071d7 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 6 Jan 2016 19:07:26 +0800 Subject: Add .Xmodmap & .inputrc; Other small updates. * .Xmodmap: disable CapsLock key * .inputrc: vi-style bindings for readline --- .Xmodmap | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .Xmodmap (limited to '.Xmodmap') 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 + -- cgit v1.2.2