So, this is default my setup now: Mac OSX + Aquamacs


So, my command is basically unused in emacs. So, I need to remap control to command (UPDATE: and vice versa) ONLY for emacs, but not for other Mac application.

Is it possible?

1 Answer 1


So you want the command key to function as a control key in Emacs? Add this to your ~/.emacs file:

(setq mac-command-modifier 'control)
  • Awesome that worked like a charm! But, I wanted to swap the functionality, i.e. for emacs, put the functionality of command to control and vice-versa. Any suggestions on that?
    – zengr
    Jun 15, 2011 at 10:16
  • zengr: sure, (setq mac-control-modifier 'meta) Jun 15, 2011 at 14:33
  • Done, awesome!!
    – zengr
    Jun 15, 2011 at 18:09

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.