Surround and snipe now work correctly together
This commit is contained in:
parent
3a927e756a
commit
7b732934d5
1 changed files with 5 additions and 5 deletions
|
@ -760,9 +760,9 @@ I like both [[https://github.com/emacs-evil/evil-surround][evil-surround]] and H
|
||||||
(use-package evil-surround
|
(use-package evil-surround
|
||||||
:after evil-snipe
|
:after evil-snipe
|
||||||
:config
|
:config
|
||||||
(dolist (state '(normal motion operator visual))
|
(evil-define-key '(normal motion operator visual) evil-surround-mode-map
|
||||||
(evil-define-key state evil-surround-mode-map "z" 'evil-surround-edit)
|
"z" 'evil-surround-edit
|
||||||
(evil-define-key state evil-surround-mode-map "Z" 'evil-Surround-edit))
|
"Z" 'evil-Surround-edit)
|
||||||
(global-evil-surround-mode 1))
|
(global-evil-surround-mode 1))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
Notes:
|
Notes:
|
||||||
|
|
Loading…
Reference in a new issue