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?

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

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)
link|improve this answer
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 '11 at 10:16
zengr: sure, (setq mac-control-modifier 'meta) – Chris Poole Jun 15 '11 at 14:33
Done, awesome!! – zengr Jun 15 '11 at 18:09
feedback

Your Answer

 
or
required, but never shown

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