[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you lookup keybindings of a command?
From: |
Tassilo Horn |
Subject: |
Re: How do you lookup keybindings of a command? |
Date: |
Thu, 09 Dec 2010 09:17:54 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Xah Lee <xahlee@gmail.com> writes:
> finding the key to a command or the command of a key is the most
> fundamental knowledge in emacs know how.
>
> Ctrl+h k describe-key Find the command name of a shortcut
> Ctrl+h f describe-function Find the shortcut of a command
Or, if you really only want to find out to what keys a command is bound,
there's also
,----[ C-h k C-h w ]
| C-h w runs the command where-is, which is an interactive compiled Lisp
function
| in `help.el'.
|
| It is bound to C-h w, <f1> w, <help> w.
|
| (where-is DEFINITION &optional INSERT)
|
| Print message listing key sequences that invoke the command DEFINITION.
| Argument is a command definition, usually a symbol with a function definition.
| If INSERT (the prefix arg) is non-nil, insert the message in the buffer.
`----
Bye,
Tassilo