Fix gsn/gsN & gs*/gs# evil-easymotion binds

This commit is contained in:
Henrik Lissner 2018-07-10 14:21:02 +02:00
parent 04b7b5f1ef
commit 93917fd8a2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 12 additions and 3 deletions

View file

@ -157,7 +157,18 @@
(def-package! evil-easymotion
:commands (evilem-create evilem-default-keybindings))
:commands (evilem-create evilem-default-keybindings)
:config
;; Use evil-search backend, instead of isearch
(evilem-make-motion evilem-motion-search-next #'evil-ex-search-next
:bind ((evil-ex-search-highlight-all nil)))
(evilem-make-motion evilem-motion-search-previous #'evil-ex-search-previous
:bind ((evil-ex-search-highlight-all nil)))
(evilem-make-motion evilem-motion-search-word-forward #'evil-ex-search-word-forward
:bind ((evil-ex-search-highlight-all nil)))
(evilem-make-motion evilem-motion-search-word-backward #'evil-ex-search-word-backward
:bind ((evil-ex-search-highlight-all nil))))
(def-package! evil-embrace