I've been using Keyboard in System Preferences to map the CAPS LOCK key to CTRL. However, it does this system-wide and I need it only for OSX emacs. Now I'm using an application that requires a CAPS LOCK key. Is there any way to map only for OSX Emacs? Note, I'm not using Carbon emacs which I believe has explicit support for this.

The emacs wiki (http://www.emacswiki.org/emacs/MovingTheCtrlKey#toc13) points to Keyboard in System Preferences and uControl, which is no longer maintained. uControl points to fKeys (http://www.kodachi.com/software/fKeys/) which is reaching end of life.

link|improve this question
feedback

migrated from stackoverflow.com Nov 30 '10 at 1:09

This question came from our site for professional and enthusiast programmers.

1 Answer

Why not just trade the Caps-Lock and CTRL keys? Map the Caps-Lock to CTRL Map the CTRL to Caps-Lock

You'll have the advantage of the better Control key, with the Caps-Lock available for the application that needs it.

  • Chris
link|improve this answer
I've been using this technique since before MacOS X existed, and highly recommend it. :) (I also highly recommend use of the Dvorak keyboard layout, but that's another story, I suppose.) – lindes Dec 7 '10 at 8:51
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.