Function: consult-imenu
consult-imenu is an autoloaded, interactive and byte-compiled function
defined in consult-imenu.el.
Signature
(consult-imenu)
Documentation
Select item from flattened imenu using completing-read with preview.
The command supports preview and narrowing. See the variable
consult-imenu-config, which configures the narrowing.
The symbol at point is added to the future history.
See also consult-imenu-multi.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult-imenu.el
;;;###autoload
(defun consult-imenu ()
"Select item from flattened `imenu' using `completing-read' with preview.
The command supports preview and narrowing. See the variable
`consult-imenu-config', which configures the narrowing.
The symbol at point is added to the future history.
See also `consult-imenu-multi'."
(interactive)
(consult-imenu--select
"Go to item: "
(consult--slow-operation "Building Imenu..."
(consult-imenu--items))))