diff options
author | jao <jao@gnu.org> | 2021-12-13 03:14:33 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-12-13 03:14:33 +0000 |
commit | 5197bdaa4a89b38f7a3813d870458476c3968e5c (patch) | |
tree | 9365e4ec90ce56db0e10445809a030d094ebb883 /attic | |
parent | 79a4f5313188476eb3ff601d85e6b1c24460be35 (diff) | |
download | elibs-5197bdaa4a89b38f7a3813d870458476c3968e5c.tar.gz elibs-5197bdaa4a89b38f7a3813d870458476c3968e5c.tar.bz2 |
reshufflings
Diffstat (limited to 'attic')
-rw-r--r-- | attic/misc.org | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/attic/misc.org b/attic/misc.org index b2b9e6e..931aeb4 100644 --- a/attic/misc.org +++ b/attic/misc.org @@ -826,36 +826,39 @@ ) #+end_src * vertico - #+begin_src emacs-lisp :tangle no - (use-package vertico-directory - :after vertico) - - (use-package vertico-repeat - :after vertico - :config (add-hook 'minibuffer-setup-hook #'vertico-repeat-save) - :bind (("M-R" . vertico-repeat))) - - (use-package vertico-buffer - :after vertico - :init (setq vertico-buffer-display-action - '(display-buffer-at-bottom - (window-height . ,(+ 3 vertico-count))))) - + #+begin_src emacs-lisp (use-package vertico :ensure t :init - (setq vertico-count 20 + (setq vertico-count 10 vertico-cycle t - ; vertico-group-format nil - org-refile-use-outline-path t) - :config - (setq read-extended-command-predicate - #'command-completion-default-include-p) + vertico-resize t + org-refile-use-outline-path t + resize-mini-windows nil) + + (vertico-mode) :bind (:map vertico-map (("RET" . vertico-directory-enter) ("M-<backspace>" . vertico-directory-delete-word) ("<backspace>" . vertico-directory-delete-char)))) - (vertico-buffer-mode -1) - (vertico-mode -1) + (use-package vertico-directory + :after vertico) + + (use-package vertico-reverse + :after vertico + :init (vertico-reverse-mode)) + + (use-package vertico-repeat + :after vertico + :config (add-hook 'minibuffer-setup-hook #'vertico-repeat-save) + :bind (("M-R" . vertico-repeat))) + + ;; (use-package vertico-buffer + ;; :after vertico + ;; :init + ;; (setq vertico-buffer-display-action + ;; '(display-buffer-at-bottom (window-height . ,(+ 3 vertico-count)))) + ;; (vertico-buffer-mode -1)) + #+end_src |