Emacs C-TAB的全局设置键 [英] Emacs global-set-key to C-TAB
本文介绍了Emacs C-TAB的全局设置键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在Emacs中设置一个绑定到Ctrl + TAB的键。我使用以下调用:
I'm trying to set a key-binding to Ctrl+TAB in Emacs. I used the following call:
(global-set-key (read-kbd-macro "C-TAB") 'my-func)
然而,每当我使用它,我得到一个
However, whenever I use it, I get a
<C-tab> is undefined
错误消息。尝试将绑定设置为C-tab会导致错误消息。
error message. Trying to set the binding to "C-tab" results in an error message.
如何将绑定设置为C-TAB?
How can I set my binding to C-TAB?
推荐答案
(global-set-key [C-tab] 'my-func)
这篇关于Emacs C-TAB的全局设置键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文