diff --git a/plugins.vim b/plugins.vim index af48b4f..1831935 100644 --- a/plugins.vim +++ b/plugins.vim @@ -696,23 +696,9 @@ call deoplete#custom#source('emoji', 'converters', ['converter_emoji']) "{{ text objects """"""""""""""""""""""""""""vim-sandwich settings""""""""""""""""""""""""""""" -" Do not use the default mappings -let g:sandwich_no_default_key_mappings = 1 - -" 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) +" Map s to nop since s in used by vim-sandwich. Use cl instead of s. +nmap s +omap s "}} "{{ LaTeX editting