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
|
||||
:init (vertico-mode)
|
||||
(vertico-indexed-mode)
|
||||
(vertico-multiform-mode)
|
||||
;; Different scroll margin
|
||||
;; (setq vertico-scroll-margin 0)
|
||||
;; 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
|
||||
;; (setq vertico-resize t)
|
||||
:bind (:map vertico-map
|
||||
("C-h" . #'vertico-directory-delete-char)
|
||||
("<backspace>" . #'vertico-directory-delete-char)
|
||||
("C-w" . #'vertico-directory-delete-word)
|
||||
("C-h" . #'vertico-directory-delete-char)
|
||||
("<backspace>" . #'vertico-directory-delete-char)
|
||||
("C-w" . #'vertico-directory-delete-word)
|
||||
("<C-backspace>" . #'vertico-directory-delete-word))
|
||||
:config
|
||||
(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
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
Loading…
Reference in New Issue