11

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

C-X=control+x
M-X=option/alt+x

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

18

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)
3
  • 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .