completion/selectrum -> completion/vertico, part 1
- Use `vertico` as default completion engine - Drop `selectrum` and `selectrum-prescient` support
This commit is contained in:
parent
dc6da589be
commit
f9e1c99b2b
9 changed files with 27 additions and 129 deletions
|
@ -124,24 +124,12 @@ Supports exporting consult-grep to wgrep, file to wdeired, and consult-location
|
|||
(defun +selectrum/next-candidate-preview ()
|
||||
"Move to next candidate and preivew it"
|
||||
(interactive)
|
||||
(if (featurep! :completion selectrum +vertico)
|
||||
(vertico-next)
|
||||
(selectrum-next-candidate))
|
||||
(vertico-next)
|
||||
(+selectrum/embark-preview))
|
||||
|
||||
;;;###autoload
|
||||
(defun +selectrum/previous-candidate-preview ()
|
||||
"Move to previous candidate and preview it"
|
||||
(interactive)
|
||||
(if (featurep! :completion selectrum +vertico)
|
||||
(vertico-previous)
|
||||
(selectrum-previous-candidate))
|
||||
(vertico-previous)
|
||||
(+selectrum/embark-preview))
|
||||
|
||||
;;;###autoload
|
||||
(defun +selectrum/repeat ()
|
||||
"Repeat the last selectrum/vertico command."
|
||||
(interactive)
|
||||
(if (featurep! :completion selectrum +vertico)
|
||||
(vertico-repeat)
|
||||
(selectrum-repeat)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue