I'm trying to search/replace through one range of lines and through a second range of lines, via a single command.
Find and replace strings in vim on multiple lines says I should be able to do it like this:
:2,10s/\n/ /g | 12,18&&
but that just gives me: 9 substitutions on 1 line for the first range (as expected), and E16: Invalid range for the second.
Why doesn't the second range work?
I've also tried the command like:
:2,10s/\n/ /g | :12,18&&
with the same result.