diff --git a/plugin/surround.vim b/plugin/surround.vim index f5d9b86..72a1442 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -573,7 +573,7 @@ nnoremap SurroundRepeat . nnoremap Dsurround :call dosurround(inputtarget()) nnoremap Csurround :call changesurround() nnoremap CSurround :call changesurround(1) -nnoremap Yssurround opfunc('setup').'g_' +nnoremap Yssurround '^'.v:count1.opfunc('setup').'g_' nnoremap YSsurround opfunc2('setup').'_' nnoremap Ysurround opfunc('setup') nnoremap YSurround opfunc2('setup')