Variable: vertico-flat-mode-hook
vertico-flat-mode-hook is a customizable variable defined in
vertico-flat.el.
Value
nil
Documentation
Hook run after entering or leaving vertico-flat-mode(var)/vertico-flat-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-flat.el
;;;###autoload
(define-minor-mode vertico-flat-mode
"Flat, horizontal display for Vertico."
: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)))
(cl-callf2 rassq-delete-all vertico-flat-map minor-mode-map-alist)
(when vertico-flat-mode
(push `(vertico--input . ,vertico-flat-map) minor-mode-map-alist)))