mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
vertico: pass universal argument from vertico...
motion preview commands to underlying motion commands.
This commit is contained in:
@ -121,15 +121,15 @@ Supports exporting consult-grep to wgrep, file to wdeired, and consult-location
|
|||||||
(embark-default-action)))))
|
(embark-default-action)))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +vertico/next-candidate-preview ()
|
(defun +vertico/next-candidate-preview (&optional n)
|
||||||
"Move to next candidate and preivew it"
|
"Go forward N candidates and preivew"
|
||||||
(interactive)
|
(interactive)
|
||||||
(vertico-next)
|
(vertico-next (or n 1))
|
||||||
(+vertico/embark-preview))
|
(+vertico/embark-preview))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +vertico/previous-candidate-preview ()
|
(defun +vertico/previous-candidate-preview (&optional n)
|
||||||
"Move to previous candidate and preview it"
|
"Go backward N candidates and preivew"
|
||||||
(interactive)
|
(interactive)
|
||||||
(vertico-previous)
|
(vertico-previous (or n 1))
|
||||||
(+vertico/embark-preview))
|
(+vertico/embark-preview))
|
||||||
|
Reference in New Issue
Block a user