Function: vertico-flat-mode
vertico-flat-mode is an autoloaded, interactive and byte-compiled
function defined in vertico-flat.el.
Signature
(vertico-flat-mode &optional ARG)
Documentation
Flat, horizontal display for Vertico.
This is a global minor mode. If called interactively, toggle the
Vertico-Flat mode mode. If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate (default-value \=vertico-flat-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
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)))