96

I want to use Emacs and need remap the Caps key to Ctrl (switch them). How can I do it?

2
  • 1
  • The first answer still works in Catalina! Also this is very precise and useful and not a duplicate of the one it's marked as duplicate of. I wanted exactly this and found it! Recommend changing the title to "... in macOS" (don't mention 10.8) and removing duplicate status.
    – jerclarke
    Dec 18, 2019 at 16:32

1 Answer 1

219

Just go to Apple Menu -> System Preferences... -> Keyboard -> Keyboard Tab -> Modifier Keys and select Control for Caps Lock.

5
  • 49
    If you are using an external keyboard, you'll want to select it from the dropdown at the top of the Modifier Keys window. Jul 2, 2014 at 18:12
  • 3
    Does anyone know how this can be done from a script i can run from the terminal? I like to have to all such configurations automated so it's easy to switch computers and profiles. May 17, 2015 at 3:57
  • @zumalifeguard superuser.com/questions/545208/…
    – Lingnik
    May 29, 2015 at 16:16
  • Is there any way to add other keys to the select list, such as Backspace, without using third party software? Jan 6, 2016 at 17:13
  • Would be nice to have capslock be control in terminal, etc, and command otherwise.
    – trusktr
    Apr 1, 2016 at 23:29

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