mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Ditch vertico-posframe
This commit is contained in:
parent
3b04a0758f
commit
5f8eb259c5
25
init.org
25
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user