Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uwmcsd1!leah!bingvaxu!sunybcs!oswego!dab From: dab@oswego.Oswego.EDU (Dave Bozak) Newsgroups: comp.editors Subject: Re: Paragraph Re-Formating in vi Summary: sure, use fmt Keywords: vi, paragraph, reformating Message-ID: <894@oswego.Oswego.EDU> Date: 29 Jul 88 13:21:57 GMT References: <2226@copper.SDP.TEK.COM> Reply-To: dab@oswego.oswego.edu.UUCP (Dave Bozak) Organization: SUNY Oswego Lines: 13 In article <2226@copper.SDP.TEK.COM> jackd@copper.SDP.TEK.COM (Jack Decker) writes: >I know you vi can do wrapped margins when you are initially entering >text, but is there any way to force it to reformat the paragraph if >you add or delete text to a paragraph that already exists? Sure, use fmt (if you don't have it on your system, there are PD versions): :f,l!fmt where f is line number of first line of paragraph and l is line number of last line of paragraph -dave dab@rocky.oswego.edu {rutgers,rochester}!sunybcs!oswego!dab