How can I get the keyboard shortcut for a given emacs command?
Asked Answered
T

4

27

Is there any function to do this? something like the inverse of "describe-key"?

Thermaesthesia answered 15/4, 2011 at 20:10 Comment(0)
C
33

Try the command where-is, for example:

M-x where-is find-file
Cabbage answered 15/4, 2011 at 20:15 Comment(1)
Obviously, you should start with M-x where-is RET where-is RET.Whipping
T
17

You can try C-h w (it's bound to the where-is command).

Twiddle answered 16/4, 2011 at 11:34 Comment(0)
K
8

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.

Karolkarola answered 15/4, 2011 at 20:14 Comment(0)
F
1

In Lugaru's Epsilon Emacs, it is "describe-command".

Forethoughtful answered 15/4, 2011 at 20:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.