I use helm-M-x and helm-descbinds to show functions and keybindings I can execute. I would like to be able to see the help for a function without having to ESC, C-h f, retype function. (Like this answer for smex).
Defining a key as part of helm-map (even after emacs has loaded) doesn't work for me:
(define-key helm-map (kbd "C-u") 'describe-function)
I get this:
helm: Error: Trying to run helm within a running helm session
(Running describe-function from M-x opens helm.)
This helm intro says:
If helm-mode is activated...
C-h f
, which runs describe-function, automatically takes the symbol at point as default for searching function.
Does that mean C-h f
should work in the helm minibuffer? Or is it referring to other functionality?
How can I invoke other commands on the helm results?
(I use spacemacs on Emacs 24, but I don't think that matters?
C-z
(the default key binding for executing persistent action) and Helm opens a help buffer for you. You don't have to bind anything. But better swaptab
andC-z
. My helm guide may improve your workflow.C-h f
is meant to run separatedly. If you want to invoke other commands on Helm results, pressTab
to switch to action menu (orC-z
if you follow my guide and swapped the keys).helm-find-files
orhelm-mini
, it opens and show you file/buffer for previewing rather than opening help. Some command don't have persistent action and simply does nothing.