Friday, 26 March 2010

I hate my CAPS_LOCK key... I disabled it, using xmodmap. Since I'm a Vi user, hitting the Caps Lock key accidentally is really annoying as it is mapped to all sorts of crazy functions. Since I never use it for its prescribed function, (even outside Vi) I remapped it to be a second Escape key using the following code in my ~/.Xmodmap file:

remove Lock = Caps_Lock
keysym Caps_Lock = Escape