Any way to configure Carbon Emacs to use the Option key as a Meta key, rather than the Command key? I like having a consistent set of keybindings no matter if I am using Emacs in a terminal or Carbon Emacs. Also, I really would like Paste back on command-v.
Asked
Active
Viewed 1,981 times
4
-
I am sympathetic with the vote for moving this to SuperUser, but I note many emacs keybinding questions in the Related sidebar. I'm off to meta to open a question on the topic: http://meta.stackexchange.com/questions/36017/what-site-should-host-questions-about-emacs-keybinding – dmckee --- ex-moderator kitten Jan 17 '10 at 23:05
-
Hm... This seemed to be an elisp and emacs customization question for me, which put it here... – vy32 Jan 18 '10 at 05:56
-
The discussion on the meta questions right now is about even: 3 for SO, 4 for SU. That doesn't add up to a consensus policy in my mind. – dmckee --- ex-moderator kitten Jan 18 '10 at 15:54
2 Answers
10
To use the alt key for meta, add this to your init file ~/.emacs
, ~/.emacs.el
, or ~/.emacs.d/init.el
:
(setq mac-option-modifier 'meta)
Create the file if needed.
To get the apple-style copy and paste, add this to the init file:
(mac-key-mode 1)

martin clayton
- 76,436
- 32
- 213
- 198
-
the file should be ~/.emacs, not ~/.emacs.el. Alternatively, you can also put it in ~/.emacs.d/init.el – vedang Jan 18 '10 at 04:16
-
-