Skip to content

Commit

Permalink
fix(evil): the right way to use evil-search
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 21, 2023
1 parent 4ad4c3a commit a5c61ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/me-evil.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
(evil-kill-on-visual-paste nil)
(evil-respect-visual-line-mode t)
(evil-ex-interactive-search-highlight 'selected-window)
(evil-search-module 'evil-search)
:config
(+map!
;; buffer
Expand All @@ -33,6 +32,10 @@
"wR" '(evil-window-rotate-upwards :wk "Rotate upwards")
"w+" '(evil-window-increase-width :wk "Increase width")
"w-" '(evil-window-decrease-width :wk "Decrease width"))

;; Use `evil-search' instead of `isearch'
(evil-select-search-module 'evil-search-module 'evil-search)

;; Ask for a buffer when splitting windows
(with-eval-after-load 'consult
(dolist (fn '(evil-window-split evil-window-vsplit))
Expand Down

0 comments on commit a5c61ab

Please sign in to comment.