Xref: utzoo comp.unix.misc:1072 comp.editors:2657 Path: utzoo!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!wuarchive!uunet!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!diku!kimcm From: kimcm@diku.dk (Kim Christian Madsen) Newsgroups: comp.unix.misc,comp.editors Subject: Re: VI (can you fully justifiy test) Keywords: VI, vi, editing tricks Message-ID: <1991Mar7.104702.2061@odin.diku.dk> Date: 7 Mar 91 10:47:02 GMT References: <1991Mar5.223022.14261@informix.com> Sender: news@odin.diku.dk (Netnews System) Organization: Department of Computer Science, U of Copenhagen Lines: 21 billd@infmx.informix.com (William Daul) writes: >Is there a way to fully justify text in VI? You cannot in any way justify text, unless you know the pre- cise meaning of the text, not in vi nor in any other editor word-processor (-; Actually it is possible to have text fully adjusted in vi, however it requires an external program, such as nroff or the like. What you do is to pipe the text from vi into the external program and replacing the original content with the adjusted content. The command for doing this to a paragraph is "!}" and from the cursor position to the end of document "!G" as in "!Gnroff -me". Regards, Kim Chr. Madsen kimcm@diku.dk PS. This text was written in vi and adjusted with nroff.