feat: Add package evil-visualstar
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user