Forum Moderators: open
:%s/pattern/\npattern/g
Where \n will start a new line... I'd really thought this would work but I get ^@ instead... any ideas how to do this properly?
when building the string in Gvim - hit ctrl+v then tap return (enter) this pastes in a ^M which is actually a newline character. Worked for me.