diff --git a/modules/feature/evil/config.el b/modules/feature/evil/config.el index ba18e9c57..4489f356d 100644 --- a/modules/feature/evil/config.el +++ b/modules/feature/evil/config.el @@ -28,6 +28,7 @@ evil-want-visual-char-semi-exclusive t evil-want-fine-undo nil evil-want-Y-yank-to-eol t + evil-ex-interactive-search-highlight 'selected-window evil-magic t evil-echo-state t evil-indent-convert-tabs t @@ -384,14 +385,9 @@ algorithm is just confusing, like in python or ruby." (def-package! evil-textobj-anyblock :commands (evil-numbers/inc-at-pt evil-numbers/dec-at-pt) :init - (+evil--textobj "B" #'evil-textobj-anyblock-inner-block #'evil-textobj-anyblock-a-block)) - - -(def-package! evil-search-highlight-persist :demand t - :commands (evil-textobj-anyblock-inner-block evil-textobj-anyblock-a-block) - :config - (global-evil-search-highlight-persist t) - (add-hook '+evil-esc-hook #'evil-search-highlight-persist-remove-all)) + (+evil--textobj "B" + #'evil-textobj-anyblock-inner-block + #'evil-textobj-anyblock-a-block)) (def-package! evil-snipe :demand t diff --git a/modules/feature/evil/packages.el b/modules/feature/evil/packages.el index 7f14a85ea..ebc1c502d 100644 --- a/modules/feature/evil/packages.el +++ b/modules/feature/evil/packages.el @@ -14,7 +14,6 @@ (package! evil-mc) (package! evil-numbers) (package! evil-textobj-anyblock) -(package! evil-search-highlight-persist) (package! evil-snipe) (package! evil-surround) (package! evil-visualstar)