consult: Declare navigation commands non-repeatable

Vertico users can use vertico-repeat.

It does not make sense to repeat these commands via evil-repeat. (It
also doesn't work) We typically use evil-repeat for commands that
change the buffer contents.
This commit is contained in:
Brian Leung 2022-07-10 19:48:35 -07:00
parent be67109e8c
commit f8219613a7
No known key found for this signature in database
GPG Key ID: 2D86D6A94C8BB3B1
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@
consult-imenu
consult-org-heading
consult-line))
(evil-declare-not-repeat cmd)
(evil-set-command-property cmd :jump t)))
(defun evil-collection-consult--evil-mark-ring ()