Replaced evil-define-key with map!
This commit is contained in:
parent
ddabf8bc81
commit
3e90ef7c8b
1 changed files with 2 additions and 3 deletions
|
@ -582,8 +582,7 @@ You will need to enable the `hydra` module first.
|
||||||
("p" evil-paste-after)
|
("p" evil-paste-after)
|
||||||
("P" evil-paste-before))
|
("P" evil-paste-before))
|
||||||
|
|
||||||
(evil-define-key* '(normal visual) 'global
|
(map! :nv "p" #'hydra-paste/evil-paste-after
|
||||||
(kbd "p") #'hydra-paste/evil-paste-after
|
:nv "P" #'hydra-paste/evil-paste-before)
|
||||||
(kbd "P") #'hydra-paste/evil-paste-before)
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue