Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to remap the Caps Lock key to some other unused key (in a system-wide fashion).

Being a user, I always liked to idea of remapping the Caps Lock key to some other key such as the "Help" key or the "End" key in order to use that piece of keyboard real estate to enter and exit insert mode.

Previously, in Mac OS X Snow Leopard, several options existed to do this, such as the excellent PCKeyboardHack which enabled the user to chose the key code that the caps lock key would send to the OS and operated at the driver level it seems. Or the other tool called DoubleCommand. None of these options work anymore under Mac OS X Lion (Gold Master). I tried to install them none the less and ended up with a kernel panic.

The "Keyboard" preference pane in the system preferences of both versions of Mac OS X has the possibility of remapping the caps lock key built-in as you can see in these pictures. But only to one of the other three modifier keys: namely "Control", "Command" and "Option". This is evidently not sufficient for creating a macro in vim. The Caps Lock key needs to be remapped to some other non-modifier key.

Other answers found in previous questions often contain a suggestion to use the Ukulele tool. This program has never had the ability to remap the Caps Lock key.

Other keyboard modifying software such as Consistent Keyboards has similar functionality but will not solve the problem.

Any help greatly appreciated !

share|improve this question
up vote 14 down vote accepted

PCKeyboardHack for Lion released and works great!

share|improve this answer

PCKeyboardHack for Lion is done with development. Works Great!!!

PCKeyboardHack Support

share|improve this answer

PCKeyboardHack recently changed its name to «Seil»

KeyRemap4MacBook recently changed its name to «Karabiner»

Seil is used to change the special key CapsLock to a more useful key (such as Escape) whereas Karabiner is useful to remap almost any key (except CapsLock). You can bring back the functionality of CapsLock for example by pressing both Shift-Keys at the same time.

share|improve this answer

KeyRemap4MacBook is supposed to work with Lion.

share|improve this answer

Your Answer


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.