From 643a42454bc8c2b2735de14f309523ce733a5358 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 29 May 2018 19:08:19 -0400 Subject: [PATCH] Fix yss adding newlines --- plugin/surround.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/surround.vim b/plugin/surround.vim index a91bc30..f5d9b86 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').'_' +nnoremap Yssurround opfunc('setup').'g_' nnoremap YSsurround opfunc2('setup').'_' nnoremap Ysurround opfunc('setup') nnoremap YSurround opfunc2('setup')