Macos – Remap command key in mac only for emacs

emacsmacos

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?

Best Answer

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)
Related Question