From 5f8eb259c5f043832ce12aadce33f3c3ebedc95f Mon Sep 17 00:00:00 2001 From: larstvei Date: Fri, 22 Mar 2024 19:40:04 +0100 Subject: [PATCH] Ditch vertico-posframe --- init.org | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/init.org b/init.org index 7232e62..7788fc1 100644 --- a/init.org +++ b/init.org @@ -784,19 +784,6 @@ #+end_src - The completions are centered in a posframe (a frame at point). - - #+begin_src emacs-lisp - - ;; Using posframe to show Vertico - (use-package vertico-posframe - :config - (vertico-posframe-mode 1) - (setq vertico-posframe-width 100 - vertico-posframe-height vertico-count)) - - #+end_src - Use the built in ~savehist-mode~ to prioritize recently used commands. #+begin_src emacs-lisp @@ -861,11 +848,13 @@ #+begin_src emacs-lisp - ;; Consulting completing-read - (use-package consult - :bind (:map custom-bindings-map - ("C-x b" . consult-buffer) - ("C-c r" . consult-ripgrep))) + ;; Consulting completing-read + (use-package consult + :bind (:map custom-bindings-map + ("C-x b" . consult-buffer) + ("C-c r" . consult-ripgrep)) + :config + (setq consult-preview-key (list :debounce 0.1 'any))) #+end_src