Replaced evil-define-key with map!

This commit is contained in:
Jay 2020-06-02 22:53:48 -04:00 committed by GitHub
parent ddabf8bc81
commit 3e90ef7c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -582,8 +582,7 @@ You will need to enable the `hydra` module first.
("p" evil-paste-after)
("P" evil-paste-before))
(evil-define-key* '(normal visual) 'global
(kbd "p") #'hydra-paste/evil-paste-after
(kbd "P") #'hydra-paste/evil-paste-before)
(map! :nv "p" #'hydra-paste/evil-paste-after
:nv "P" #'hydra-paste/evil-paste-before)
#+END_SRC