【问题标题】:List all Keybindings for a certain emacs mode列出某个 emacs 模式的所有键绑定
【发布时间】:2011-04-10 04:52:46
【问题描述】:

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

在dired+中,我可以做到

?
h

它向我展示了所有适用的 dired 模式键绑定。

谢谢

【问题讨论】:

    标签: emacs key-bindings


    【解决方案1】:

    使用C-h mM-x describe-mode

    【讨论】:

    • M-x describe-minor-mode 用于特定的次要模式。
    【解决方案2】:

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

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

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

    【讨论】:

      猜你喜欢
      • 2011-02-20
      • 2014-11-08
      • 1970-01-01
      • 2011-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多