如何从Emacs中获取一个以某个键(组合)开头的命令列表? [英] How do I get a list of commands starting with a certain key (combo) in Emacs?
本文介绍了如何从Emacs中获取一个以某个键(组合)开头的命令列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以使用 Ch c
( describe-key-brief
),并键入一个组合键,它将返回我所绑定的功能。但是我也只想键入一个密钥组合的前缀,并将其列出并描述从它开始绑定到键序列的所有函数,例如以$ code开头的所有绑定键> Cx
I can use C-h c
(describe-key-briefly
) and type a key combination and it will return me the function bound to it. But I'd also like to type only a prefix of a key combination and have it list and describe all functions bound to key sequences starting with it, like "all bound keys starting with C-x
".
推荐答案
对于C-x的例子,做C-x C-h。这也适用于子地图,例如C-x r C-h查看C-x r
Do the key combo then C-h. For your example of C-x, do C-x C-h. This also works with sub-maps, e.g. C-x r C-h to see everything under C-x r
这篇关于如何从Emacs中获取一个以某个键(组合)开头的命令列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文