How can I get the keyboard shortcut for a given emacs command?
Is there any function to do this? something like the inverse of开发者_运维问答 "describe-key"?
Try the command where-is
, for example:
M-x where-is find-file
You can try C-h w (it's bound to the where-is command).
Type M-x describe-function
or C-h f
then type in the function name you want to know about. It will display the key bindings associated to it.
In Lugaru's Epsilon Emacs, it is "describe-command".
精彩评论