Variable: vertico-buffer-mode-hook
vertico-buffer-mode-hook is a customizable variable defined in
vertico-buffer.el.
Value
nil
Documentation
Hook run after entering or leaving vertico-buffer-mode(var)/vertico-buffer-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in ~/.emacs.d/elpa/vertico-20260811.1003/vertico-buffer.el
;;;###autoload
(define-minor-mode vertico-buffer-mode
"Display Vertico like a regular buffer in a large window."
:global t :group 'vertico
;; Shrink current minibuffer window
(when-let* ((win (active-minibuffer-window)))
(unless (frame-root-window-p win)
(window-resize win (- (window-pixel-height win)) nil nil 'pixelwise))
(with-selected-window win
(cond
((and vertico-buffer-mode vertico--input (not vertico-buffer--restore))
(vertico-buffer--setup))
((and (not vertico-buffer-mode) vertico-buffer--restore)
(funcall vertico-buffer--restore))))))