Don't use Vertico's sorting for Chronometrist prompts
This commit is contained in:
parent
e5827408e1
commit
d348a2b4cc
13
init.org
13
init.org
|
@ -3280,6 +3280,7 @@ But with =initials=, the desired completion is often buried in the results. That
|
||||||
:ensure t
|
:ensure t
|
||||||
:init (vertico-mode)
|
:init (vertico-mode)
|
||||||
(vertico-indexed-mode)
|
(vertico-indexed-mode)
|
||||||
|
(vertico-multiform-mode)
|
||||||
;; Different scroll margin
|
;; Different scroll margin
|
||||||
;; (setq vertico-scroll-margin 0)
|
;; (setq vertico-scroll-margin 0)
|
||||||
;; Show more candidates
|
;; Show more candidates
|
||||||
|
@ -3287,13 +3288,17 @@ But with =initials=, the desired completion is often buried in the results. That
|
||||||
;; Grow and shrink the Vertico minibuffer
|
;; Grow and shrink the Vertico minibuffer
|
||||||
;; (setq vertico-resize t)
|
;; (setq vertico-resize t)
|
||||||
:bind (:map vertico-map
|
:bind (:map vertico-map
|
||||||
("C-h" . #'vertico-directory-delete-char)
|
("C-h" . #'vertico-directory-delete-char)
|
||||||
("<backspace>" . #'vertico-directory-delete-char)
|
("<backspace>" . #'vertico-directory-delete-char)
|
||||||
("C-w" . #'vertico-directory-delete-word)
|
("C-w" . #'vertico-directory-delete-word)
|
||||||
("<C-backspace>" . #'vertico-directory-delete-word))
|
("<C-backspace>" . #'vertico-directory-delete-word))
|
||||||
:config
|
:config
|
||||||
(setq completion-category-defaults nil
|
(setq completion-category-defaults nil
|
||||||
completion-category-overrides nil))
|
completion-category-overrides nil
|
||||||
|
vertico-multiform-commands
|
||||||
|
'((chronometrist-toggle-task (vertico-sort-function . nil))
|
||||||
|
(chronometrist-toggle-task-no-hooks (vertico-sort-function . nil))
|
||||||
|
(chronometrist-key-values-unified-prompt (vertico-sort-function . nil)))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue