vim-surround icon indicating copy to clipboard operation
vim-surround copied to clipboard

Changing surrounding characters at the end of a line leaves an instance of the old character.

Open jackcasey opened this issue 10 years ago • 1 comments

Here I am putting my cursor inside the string s = "hello" and pressing c s " '.

surround_bug

I can't track this down to a package or anything in particular, though I assume it's related to the way atom will give you matching character pairs by default as you type (apparently regardless of language/grammar.)

Note that this behaviour is the same for quotes and brackets etc.

Sorry if I'm missing something obvious, that seems like a distinct possibility given noone else seems to have reported it yet.

jackcasey avatar Aug 05 '15 03:08 jackcasey

The same problem. Fail to find out why now

reverland avatar Nov 18 '15 14:11 reverland