在OSX上的Emacs中将alt / option键设置为Meta

时间:2017-02-01 18:44:03

标签: macos emacs meta iterm

是的,我已经用Google搜索过了,所提供的答案似乎都没有用。我最近买了一台新电脑并将type-移了过来,有些东西还没有用。具体来说,alt / option键在emacs中未被检测为元。

我在:

value-parameterization

我的.emacs中有以下内容:

Darwin punk.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan  9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64

我正在运行.emacs

非常感谢任何帮助,谢谢!

1 个答案:

答案 0 :(得分:2)

这可以从iterm2修复。感谢lawlist指出我正确的方向。

选择Iterm2 -> Preferences -> Profiles打开配置文件视图。

在该窗格中选择Keys,然后选择Left option key acts as并选择+Esc