Remapping caps lock in X

January 27th, 2006

Really just posting this so that I can find it again when I need it. I spend most of my day in Vim and never use the caps lock. I finally got round to re-mapping it to the escape button by using xmodmap like so:

xmodmap -e 'keysym Caps_Lock = Escape' -e 'clear Lock'

Just got to re-map my fingers now.

Leave a Reply