diff --git a/plugin/surround.vim b/plugin/surround.vim index bad7723..b10df4e 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -450,7 +450,7 @@ function! s:dosurround(...) " {{{1 " Do nothing call setreg('"','') elseif char =~ "[\"'`]" - exe "norm! i \d2i".char + exe "norm! a \d2i".char call setreg('"',substitute(getreg('"'),' ','','')) elseif char == '/' norm! "_x