Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!usc!bloom-beacon!eru!luth!sunic!bmc!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.unix.questions Subject: Re: vi format command Keywords: paragraph vi editor Message-ID: <1169@kuling.UUCP> Date: 12 Sep 89 07:36:39 GMT References: <964@alpha.lanl.gov> Reply-To: irf@kuling.UUCP (Bo Thide') Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 11 In article <964@alpha.lanl.gov> sct@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