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
|
@ -747,8 +747,8 @@ Doom introduced me to [[https://github.com/hlissner/evil-snipe][evil-snipe]] whi
|
|||
(setq evil-snipe-scope 'visible)
|
||||
:config
|
||||
(evil-define-key '(normal motion operator visual)
|
||||
"s" #'evil-snipe-s
|
||||
"S" #'evil-snipe-S)
|
||||
"s" #'evil-snipe-s
|
||||
"S" #'evil-snipe-S)
|
||||
(evil-snipe-mode +1))
|
||||
#+END_SRC
|
||||
|
||||
|
@ -760,9 +760,9 @@ I like both [[https://github.com/emacs-evil/evil-surround][evil-surround]] and H
|
|||
(use-package evil-surround
|
||||
:after evil-snipe
|
||||
:config
|
||||
(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))
|
||||
(evil-define-key '(normal motion operator visual) evil-surround-mode-map
|
||||
"z" 'evil-surround-edit
|
||||
"Z" 'evil-Surround-edit)
|
||||
(global-evil-surround-mode 1))
|
||||
#+END_SRC
|
||||
Notes:
|
||||
|
|
Loading…
Reference in a new issue