Variable: vertico-flat-mode
vertico-flat-mode is a customizable variable defined in
vertico-flat.el.
Value
nil
Documentation
Non-nil if Vertico-Flat mode is enabled.
See the vertico-flat-mode(var)/vertico-flat-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function vertico-flat-mode(var)/vertico-flat-mode(fun).
Key Bindings
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)))