+default/easymotion => +evil/easymotion

This commit is contained in:
Henrik Lissner 2018-06-22 12:02:31 +02:00
parent ab01e0167d
commit 4ad9e18135
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 16 additions and 16 deletions

View file

@ -35,18 +35,3 @@
buffers."
(interactive "<a>")
(doom/kill-matching-buffers pattern bang))
;;;###autoload
(defun +default/easymotion ()
"Invoke and lazy-load `evil-easymotion' without compromising which-key
integration."
(interactive)
(let ((prefix (this-command-keys)))
(evil-define-key* 'motion 'global prefix nil)
(evilem-default-keybindings prefix)
(which-key-reload-key-sequence
(vconcat (when evil-this-operator
(where-is-internal evil-this-operator
evil-normal-state-map
t))
prefix))))