Function: vertico-grid-mode
vertico-grid-mode is an autoloaded, interactive and byte-compiled
function defined in vertico-grid.el.
Signature
(vertico-grid-mode &optional ARG)
Documentation
Grid display for Vertico.
This is a global minor mode. If called interactively, toggle the
Vertico-Grid 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-grid-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-grid.el
;;;###autoload
(define-minor-mode vertico-grid-mode
"Grid 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-grid-map minor-mode-map-alist)
(when vertico-grid-mode
(push `(vertico--input . ,vertico-grid-map) minor-mode-map-alist)))