vi format command

Bo Thide' irf at kuling.UUCP
Tue Sep 12 17:36:39 AEST 1989


In article <964 at alpha.lanl.gov> sct at alpha.lanl.gov (Stephen Tenbrink) writes:
>Is there a technique for reformatting a paragraph when using vi?  Sometimes
>[text deleted]

Remember that you can filter your vi text through *any* filter/command
you have available on your system.  For instance, I very often reformat
my paragraphs by moving to the start of the paragraph (vi command '{')
and the I type '!}adjust' and the paragraph gets formatted.  If I instead
type '!}adjust -j' I get the paragraph right hand justified (non-ragged).

-Bo



More information about the Comp.unix.questions mailing list