开发者

List all Keybindings for a certain emacs mode

开发者 https://www.devze.com 2023-01-15 05:11 出处:网络
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.

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.

Th开发者_如何学编程anks


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消