4 ms·
> C-h k runs the command describe-key. You do this and after that any command, and it will give you the explanation. But what about the opposite direction ? Is
by euroderf 3y ago
> C-h k runs the command describe-key. You do this and after that any command, and it will give you the explanation.
But what about the opposite direction ? Is there anything like an "apropos" command ?
- mzd348 3y agoI'll usually do C-h f (describe-function), then hit tab to make it build a list of all (interactive) functions, and then switch to that buffer and search for whatever I'm interested in.
- ngai_aku 3y agoIndeed there is! See M-x apropos[1] [1]https://www.gnu.org/software/emacs/manual/html_node/emacs/Apropos.html https://www.gnu.org/software/emacs/manual/html_node/emacs/Ap...
- BeetleB 3y agoAlso bound to C-h a There is also C-h d (apropos-documentation)
- presto8 3y agoCheck out marginalia[1]. Whenever you press M-x, it will pop up a buffer showing all the commands (with most recent ones on top) along with their keybindings and a brief description of what they do. Embark[2] is also cool. It will show all the possible commands relevant to where the cursor is at that moment. I bind it to C-c a. [1] https://github.com/minad/marginalia https://github.com/minad/marginalia [2] https://github.com/oantolin/embark https://github.com/oantolin/embark
- taopai 3y agoI usually use: C-h f runs the command describe-function (found in global-map) If the command is bound it has "It is bound to..."