Emacs: Caps lock as M-x
Inspired by Lennart Borgman’s recent post on help.gnu.emacs about binding Caps Lock to M-x on Microsoft Windows, I set my system up with the Linux equivalent.
To make Caps Lock a shortcut for M-x, add the following lines to your ~/.emacs:
(if (eq window-system 'x)
(shell-command "xmodmap -e 'clear Lock' -e 'keycode 66 = F13'"))
(global-set-key [f13] 'execute-extended-command)
Short URL: http://sachachua.com/blog/p/5034
-
http://wm-eddie.info Eduardo Gonzalez
-
http://atomized.org Ian Eure
-
http://www.disruptech.com Paul Gaskin
-
http://www.sethmason.com seth
-
http://guerrillatech.wordpress.com p.daniels
I'm 