John Cowan <cowan at ccil.org> wrote: > I fall back to ed or tr when I hit the bug in vim that prevents you from > inserting a newline with the s command (it inserts a NUL instead). Huh? I've never seen this, in over 20 years of using vim. To insert a newline just use s/foobar/foo^V^Mbar/ where ^V^M are Control-V Control-M. Arnold