feat: Add package evil-visualstar

This commit is contained in:
Madeleine Sydney
2025-01-12 11:25:09 -07:00
parent 4366fa163d
commit 94197e19b3

View File

@@ -135,4 +135,12 @@
(evil-snipe-repeat-scope 'visible) (evil-snipe-repeat-scope 'visible)
(evil-snipe-char-fold t))) (evil-snipe-char-fold t)))
;; Evil's default behaviour for '#'/'*' in visual state will remain in visual
;; mode, and jump to the next occurence of the symbol under point. That is, the
;; movement is exactly the same as it is in normal state; if the region is over
;; the text `two words`, but the point is over `two`, Evil will search for
;; `two`. `evil-visualstar' will instead search for `two words`.
(use-package evil-visualstar
:hook (on-first-input . global-evil-visualstar-mode))
(provide 'syd-evil) (provide 'syd-evil)