4

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.

Rafa de Castro
  • 2,474
  • 1
  • 24
  • 44
vy32
  • 28,461
  • 37
  • 122
  • 246
  • 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 Answers2

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
1

Also, consider using this:

http://emacsformacosx.com/

Allen
  • 5,034
  • 22
  • 30