diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-01-06 19:07:26 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-01-06 19:07:26 +0800 |
commit | 258b5a48933b2c34dcfb042029d477ba285071d7 (patch) | |
tree | dfea371b67fe8f5e5c1f08d89cd96b8f759b0fcb /.Xmodmap | |
parent | 4ddf40c8fe543d07738e5368194ebcb9cf06b136 (diff) | |
download | dotfiles-258b5a48933b2c34dcfb042029d477ba285071d7.tar.bz2 |
Add .Xmodmap & .inputrc; Other small updates.
* .Xmodmap: disable CapsLock key
* .inputrc: vi-style bindings for readline
Diffstat (limited to '.Xmodmap')
-rw-r--r-- | .Xmodmap | 18 |
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 + |