列出特定 emacs 模式的所有按键绑定

发布于 2024-09-18 13:16:50 字数 173 浏览 3 评论 0原文

我知道我可以使用 Ch b 列出 emacs 中可用的所有键绑定,但是是否可以仅列出适用于特定模式(例如 dired-mode)的键绑定。

在 dired+ 中,我可以这样做

?
h

,它会向我显示所有适用的 dired 模式键绑定。

谢谢

I know that I can list all the keybindings available in emacs by using C-h b, but is it possible to list only the keybindings that apply to a certain mode, say dired-mode.

In dired+, I can do

?
h

and it shows me all the applicable dired mode keybindings.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦罢 2024-09-25 13:16:50

使用 Ch m 或 Mx 描述模式

use C-h m or M-x describe-mode

二智少女猫性小仙女 2024-09-25 13:16:50

不确定问题是什么。 Ch b 显示当前可用的所有键绑定(即在当前模式下)。

如果您只想查看模式自己的键盘映射提供的键绑定,请使用库 help-fns+.el 并点击 Ch Mk。系统会提示您输入键盘映射变量(例如dired-mode-map)。

http://www.emacswiki.org/emacs/help-fns%2b.el

Not sure what the question is. C-h b shows you all of the key bindings currently available (i.e., in the current mode).

If you want to see only the key bindings provided by a mode's own keymap, then use library help-fns+.el and hit C-h M-k. You are prompted for the keymap variable (e.g. dired-mode-map).

http://www.emacswiki.org/emacs/help-fns%2b.el

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文