Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

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

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

1 Answer 1

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
share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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