1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

no need to unmap s operation

This commit is contained in:
jdhao 2020-10-12 00:34:22 +08:00
parent bd2d4334e3
commit d16c329c8d

View File

@ -686,10 +686,6 @@ call deoplete#custom#source('emoji', 'converters', ['converter_emoji'])
"{{ text objects "{{ text objects
""""""""""""""""""""""""""""vim-sandwich settings""""""""""""""""""""""""""""" """"""""""""""""""""""""""""vim-sandwich settings"""""""""""""""""""""""""""""
" Disable default s operation
nmap s <Nop>
xmap s <Nop>
" mappings for add surround " mappings for add surround
nmap ys <Plug>(operator-sandwich-add) nmap ys <Plug>(operator-sandwich-add)
xmap ys <Plug>(operator-sandwich-add) xmap ys <Plug>(operator-sandwich-add)