简体   繁体   English

Emacs中的C- <或C->类型如何在Mac Sierra的iTerm2中运行

[英]How in type C-< or C-> in Emacs run inside iTerm2 on Mac Sierra

multiple-cursors demonstrate to configure C-< C-> to do the mark. 多光标演示如何配置C-< C->进行标记。

However, I can't type those keys into my Emacs, I googled this issue , and suspect those keystrokes are captured by Mac or iTerm itself. 但是,我无法在我的Emacs中键入这些键,我在此问题上进行了搜索 ,并怀疑这些键击是由Mac或iTerm本身捕获的。 I did several tries: 我做了几次尝试:

First start emacs in -q , and use Ch k to check what emacs got, M-< works as expected, but when I type C-< , emacs only receive , I also try this in Terminal.app, it's the same issue. 首先在-q启动emacs,并使用Ch k检查得到的emacs, M-<可以按预期工作,但是当我键入C-< ,emacs只接收,我也在Terminal.app中尝试了此操作,这是相同的问题。

Could anyone share some experience about how to configure Emacs running inside terminal to solve this? 谁能分享一些有关如何配置在终端中运行的Emacs来解决此问题的经验? Thanks in advanced. 提前致谢。

Some environment: 一些环境:

  • iTerm terminal type: xterm-256color iTerm终端类型:xterm-256color

For anyone else who came across this issue, try this solution: 对于遇到此问题的其他任何人,请尝试以下解决方案:

https://stackoverflow.com/a/40222318/2163429 https://stackoverflow.com/a/40222318/2163429

I succeed with iTerm2. 我使用iTerm2成功。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM