From 9355affb7d51e11cabb2903ad95ee54ad889a493 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 25 Sep 2024 16:36:26 +0100 Subject: Add preliminary vertico-multiform config --- .emacs.d/lisp/init-minibuffer.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.emacs.d/lisp/init-minibuffer.el') diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index ccff634..785a003 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -80,6 +80,21 @@ ("C-M-S-g" . minibuffer-really-quit) (:map vertico-map ("M-RET" . minibuffer-force-complete-and-exit)))) +(use-extension vertico vertico-multiform + :config + (vertico-multiform-mode +1) + ;; TODO how to make it toggle? + (defun vertico-multiform-buffer-grid () + (interactive) + (push '(vertico-buffer-mode vertico-grid-mode) vertico-multiform--stack) + (vertico-multiform--toggle 1)) + (setq vertico-multiform-commands + ;; See twice as manu lines + '((consult-line grid))) + (setq vertico-multiform-categories + '((imenu grid))) + :bind (:map vertico-multiform-map ("M-Q" . vertico-multiform-buffer-grid))) + (use-extension vertico vertico-directory :config (defvar switching-project nil) -- cgit 1.4.1-2-gfad0