diff --git a/plugins.vim b/plugins.vim index 3493c5e..c3dec7f 100644 --- a/plugins.vim +++ b/plugins.vim @@ -690,6 +690,20 @@ call deoplete#custom#source('emoji', 'converters', ['converter_emoji']) nmap s xmap s +" mappings for add surround +nmap ys (operator-sandwich-add) +xmap ys (operator-sandwich-add) +omap ys (operator-sandwich-g@) + +" mappings for delete surround +nmap dsb (operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-auto-a) +nmap ds (operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-query-a) +xmap ds (operator-sandwich-delete) + +" mappings for change surround +nmap csb (operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-auto-a) +nmap cs (operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-query-a) +xmap cs (operator-sandwich-replace) "}} "{{ LaTeX editting