emacs-evil / evil-surround

you will be surrounded (surround.vim for evil, the extensible vi layer)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bind in operator map

Vurp opened this issue · comments

I want to use the s key to use this mode. It would be useful to use
"sc" and "sd" for change and delete respectively. Like so:

(define-key evil-normal-state-map "s" 'evil-surround-edit)
(define-key evil-normal-state-map "sc" 'evil-surround-change)
(define-key evil-normal-state-map "sd" 'evil-surround-delete)

Though this isn't possible due to how emacs keybindings work. There
shouldn't be a key conflict as evil-operator-map has those mappings free.
But of course those bindings get shadowed.

Is this possible?