8

Rebinding your caps-lock key to control is a popular thing to do (though there are arguments against it, even if a bit pedantic). However, the language I find a lot of my time in uses runs of capitals pretty extensively.

Is there a caps-lock-mode that can simulate the behavior? (Without affecting existing keybindings of course, e.g. striking C-x C-s will not send C-X C-S.)

3
  • 1
    You can always use M-u (upcase-word) and C-x C-u (upcase-region). With a negative prefix arg you could upcase some number of words that you just typed, e.g. M-- M-4 M-u to upcase the last four words.
    – glucas
    Mar 27, 2015 at 20:13
  • @glucas That's what I've been doing (upcase-region), but it's not quite the same. Mar 27, 2015 at 20:15
  • Yeah - does seem like having an upcase minor mode you could toggle would be more convenient in such cases.
    – glucas
    Mar 27, 2015 at 20:18

1 Answer 1

10

Try the caps-lock minor mode package:

Summary: Caps-lock as a minor mode
Homepage: http://elpa.gnu.org/packages/caps-lock.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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