[CLUE-Tech] vim question: doing a large document using join
Todd A. Gibson
tgibson at augustcouncil.com
Tue May 7 11:23:48 MDT 2002
> 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.
-TAG
More information about the clue-tech
mailing list