Mac上的Emacs - 如何输入括号,管道,@等?

时间:2012-10-17 08:18:36

标签: macos emacs

我对Mac上的Emacs很新,我输入的标记很难:[] | {} @等。迷你缓冲器会显示M-5M-6或向前跳一个字( M-l)。

我想我在这里得到了我的Emacs:http://emacsformacosx.com/ 我确实安装了这个入门套件:http://kieranhealy.org/emacs-starter-kit.html (但我之前讨论过这个问题)

我知道这个答案:Unable to type braces and square braces in emacs 但我还是无法让它工作。

1 个答案:

答案 0 :(得分:0)

我使用以下内容 - 它会将Emacs元键放在Mac CMD键上,并释放ALT键以便正常使用Mac:

(if (boundp 'ns-command-modifier)
    (setq ns-command-modifier 'meta))

(if (boundp 'ns-option-modifier)
    (setq ns-option-modifier nil))