Xref: utzoo comp.unix.misc:1090 comp.editors:2685 Path: utzoo!news-server.csri.toronto.edu!torsqnt!hybrid!javey From: javey@hybrid.UUCP (shahram javey) Newsgroups: comp.unix.misc,comp.editors Subject: Re: VI (can you fully justify test) Keywords: VI, vi, editing tricks Message-ID: <1991Mar10.215552.8366@hybrid.UUCP> Date: 10 Mar 91 21:55:52 GMT References: <1991Mar5.223022.14261@informix.com> <668287724.2919@mindcraft.com> <1991Mar07.010020.294@convex.com> Organization: The Home for Unemployed Basselopes, Toronto, Ontario, Canada Lines: 16 Someone had asked how do you justify the text from within vi: >From the keyboard of karish@mindcraft.com (Chuck Karish): >: :map @ 1Gi.ad b^V^M^V^[-!Gnroff > If simple text formatting is sufficient for your needs try :%!fmt The above format the whole file. If you just want to format lines 10 to 30, say, try :10,30!fmt cheers...sj