spacemacs/integrate-evil-search also dupdates evil-ex-search-direction

This commit is contained in:
Thanh Vuong 2018-05-29 16:02:44 -06:00 committed by syl20bnr
parent 50621c93af
commit 0d800bdbfa
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ If the universal prefix argument is used then kill also the window."
evil-ex-search-pattern (evil-ex-make-search-pattern regexp)))
;; Next time "n" is hit, go the correct direction.
(setq isearch-forward forward)
(setq evil-ex-search-direction (if forward 'forward 'backward))
;; ahs does a case sensitive search. We could set
;; this, but it would break the user's current
;; sensitivity settings. We could save the setting,