Change how evil-easymotion is lazy loaded

Fixes an issue where gs wouldn't work after an operator.
This commit is contained in:
Henrik Lissner 2020-04-14 15:41:54 -04:00
parent 483a7caf0f
commit bce0cc2152
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 2 additions and 17 deletions

View file

@ -201,6 +201,7 @@ directives. By default, this only recognizes C directives.")
;;; Packages
(use-package! evil-easymotion
:after-call pre-command-hook
:commands evilem-create evilem-default-keybindings
:config
;; Use evil-search backend, instead of isearch
@ -533,6 +534,7 @@ To change these keys see `+evil-repeat-keys'."
;; evil-easymotion (see `+evil/easymotion')
(:after evil-easymotion
:m "gs" evilem-map
(:map evilem-map
"a" (evilem-create #'evil-forward-arg)
"A" (evilem-create #'evil-backward-arg)