Attempt to resolve the snipe/surround fiasco
Loading them serially seems to fix it.
This commit is contained in:
parent
7e2ae8beac
commit
b5282059f2
1 changed files with 10 additions and 8 deletions
|
@ -648,6 +648,7 @@ Doom introduced me to [[https://github.com/hlissner/evil-snipe][evil-snipe]] whi
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package evil-snipe
|
(use-package evil-snipe
|
||||||
|
:after evil
|
||||||
:init
|
:init
|
||||||
(setq evil-snipe-scope 'visible)
|
(setq evil-snipe-scope 'visible)
|
||||||
:config
|
:config
|
||||||
|
@ -663,6 +664,7 @@ I like both [[https://github.com/emacs-evil/evil-surround][evil-surround]] and H
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package evil-surround
|
(use-package evil-surround
|
||||||
|
:after evil-snipe
|
||||||
:config
|
:config
|
||||||
(dolist (state '(normal motion operator visual))
|
(dolist (state '(normal motion operator visual))
|
||||||
(evil-define-key state evil-surround-mode-map "z" 'evil-surround-edit)
|
(evil-define-key state evil-surround-mode-map "z" 'evil-surround-edit)
|
||||||
|
|
Loading…
Reference in a new issue