Function: vertico-exit
vertico-exit is an interactive and byte-compiled function defined in
vertico.el.
Signature
(vertico-exit &optional ARG)
Documentation
Exit minibuffer with current candidate or input if prefix ARG is given.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/vertico-20260811.1003/vertico.el
(defun vertico-exit (&optional arg)
"Exit minibuffer with current candidate or input if prefix ARG is given."
(interactive "P")
(when (and (not arg) (>= vertico--index 0))
(vertico-insert))
(when (vertico--match-p (minibuffer-contents-no-properties))
(exit-minibuffer)))