
Due to my recent use of several dynamic and lisp based languages, most notably Ruby and Clojure, I’ve taken on the challenge of learning Emacs to increase my productivity ten fold! Using my old staple Eclipse to develop in dynamic languages just seemed like too much effort – something akin to using a sledgehammer to engrave some delicate glass.
Anyway, enough rambling, and onto the tip. To try and avoid getting the infamous ‘Emacs pinky’, I’ve remapped my CAPS LOCK key to be another CTRL, and ALTGR to be equivalent to ALT – this makes the key chords so much more comfortable. To achieve this in Linux, just add the following to your .bashrc or something similar :
xmodmap -e 'remove Lock = Caps_Lock' xmodmap -e 'keysym Caps_Lock = Control_L' xmodmap -e 'add Control = Control_L' xmodmap -e 'keycode 108 = Alt_L'
Advertisement