Speed up evil-ex search in magit or long/large buffers
This commit is contained in:
parent
8a080e037c
commit
ebf3739cf1
1 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,11 @@ directives. By default, this only recognizes C directives.")
|
|||
;; to do highlighting them all.
|
||||
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
|
||||
(evil-select-search-module 'evil-search-module 'evil-search)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue