mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Speed up evil-ex search in magit or long/large buffers
This commit is contained in:
@ -54,6 +54,11 @@ directives. By default, this only recognizes C directives.")
|
|||||||
;; to do highlighting them all.
|
;; to do highlighting them all.
|
||||||
evil-ex-interactive-search-highlight 'selected-window)
|
evil-ex-interactive-search-highlight 'selected-window)
|
||||||
|
|
||||||
|
;; Slow this down from 0.02 to prevent blocking in large or folded buffers
|
||||||
|
;; like magit while incrementally highlighting matches.
|
||||||
|
(setq-hook! 'magit-mode-hook evil-ex-hl-update-delay 0.2)
|
||||||
|
(setq-hook! 'so-long-minor-mode-hook evil-ex-hl-update-delay 0.25)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(evil-select-search-module 'evil-search-module 'evil-search)
|
(evil-select-search-module 'evil-search-module 'evil-search)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user