[CLUE-Tech] vim question: doing a large document using join
Kevin Cullis
kevincu at orci.com
Tue May 7 19:47:36 MDT 2002
Todd,
Yes, it works, but I was wondering if there are other ways or scripts
that would do a whole file at once. Does it sound like I'll have to use
sed to do the whole file?
Kevin
"Todd A. Gibson" wrote:
>
> > how do i do this without doing a join on each paragraph? i'd like to
> > have one command to join the whole document at once. while i could use
> > sed or awk, sometimes i don't need sed and vim is good enough. is this
> > possible?
>
> Go to the first line of the paragraph and type the following:
> 0dwV}gq
>
> Does that do what you want? It only does one paragraph and not the
> entire file.
More information about the clue-tech
mailing list