diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-25 16:36:26 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-25 16:36:26 +0100 |
commit | 9355affb7d51e11cabb2903ad95ee54ad889a493 (patch) | |
tree | 131fd53ed51dcc1b73a467d418f2e065635fb173 | |
parent | 3dfa7cde68ed88ad7369d32257242d151047d7d1 (diff) | |
download | dotfiles-9355affb7d51e11cabb2903ad95ee54ad889a493.tar.gz |
Add preliminary vertico-multiform config
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 15 |
1 files changed, 15 insertions, 0 deletions
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) |