jaredpar/VsVim — Issue #779: ":...s/$/\\n\\/g" does not work as thought and as in VIM
Author: MartinLemburg
Created: 2012-02-23 17:51:03+00:00
State: open

I tried to modify a selected text by adding some text to each line ending by using `:'<,'>s/$/\\n\\/g`.

The source lines:

");

I selected the first three lines with `2j` and applied `:'<,'>s/$/\\n\\/g` with the following result:

\n\
\n\
\n\
\n\
\n\
\n\");

In VIM the result is clearly right:

\n\
\n\
\n\
");