Dave Horsfall <dave(a)horsfall.org> wrote:
On Mon, 6 Jul 2020, arnold(a)skeeve.com wrote:
Huh? I've never seen this, in over 20 years
of using vim. To insert a
newline just use
s/foobar/foo^V^Mbar/
I'm surprised that not more people know about the ^V "escape next
character" trick.
-- Dave
It's described quite clearly in O'Reilly's book on vi and vim (coauthored
by yours truly - plug, plug :-).
Arnold