From 0d800bdbfa541209d3cc76a67442df4d45734f44 Mon Sep 17 00:00:00 2001 From: Thanh Vuong Date: Tue, 29 May 2018 16:02:44 -0600 Subject: [PATCH] spacemacs/integrate-evil-search also dupdates evil-ex-search-direction --- layers/+spacemacs/spacemacs-navigation/funcs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/layers/+spacemacs/spacemacs-navigation/funcs.el b/layers/+spacemacs/spacemacs-navigation/funcs.el index 3af078c43..7b751b7af 100644 --- a/layers/+spacemacs/spacemacs-navigation/funcs.el +++ b/layers/+spacemacs/spacemacs-navigation/funcs.el @@ -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,