Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there a way I can change the function of my caps lock key so that when it's on it inserts_underscores_instead_of_spaces_when_i_hit_the_spacebar?

It's fine if it just works in Textmate but would be handy in other apps.

share|improve this question
    
PCKeyboardHack (from the makers of KeyRemap4Macbook) can change the caps lock key to any other modifier key, if that's any use. –  Nathan Greenstein Jan 29 '11 at 0:07

1 Answer 1

You should be able to achieve this with Ukelele. I tried to do this myself but got distracted and then gave up. The documentation isn't exactly stellar.

Note: Ukelele is just a GUI to simplify the process of editing the layouts manually as they are large XML files with slightly ambiguous element names.

share|improve this answer

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.