在emacs23中如何绑定C-<return>C-<返回>而不是 C-J [英] In emacs23 how to bound C-<return> to C-<return> instead of C-J
本文介绍了在emacs23中如何绑定C-<return>C-<返回>而不是 C-J的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 org-mode,每当我按下 Crtl+return emacs 时,都会使用 C-J.我知道这是因为当我使用 c-h k 然后按 crtl+return 时,emacs 显示:它绑定到 C-j."无论如何我可以让它注册 ctrl+return 以便我可以插入标题吗?
I am trying to use org-mode and whenever I press Crtl+return emacs does C-J instead. I know this because when I use c-h k and then press crtl+return, emacs shows: "It is bound to C-j." Is there anyway I can make it register ctrl+return so I can insert headings?
我在 ubuntu 12.04 x64 上通过终端使用 emacs23.当我在 Windows 机器上执行此操作时,它会插入一个新标题.
I am using emacs23 through the terminal on ubuntu 12.04 x64. When I do this on my windows machine it does insert a new heading.
推荐答案
可能.正如@phils 所说,对于绝大多数终端模拟器来说,C-Enter 通常不是一个有效的序列.这是因为当您按下一个键或组合键时,终端会向相关应用程序发送一系列字符.按 a 发送 a
,而 Enter 发送 CR
- 回车(也称为 ^M
、
或