Xref: utzoo comp.unix.misc:1065 comp.editors:2651 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!ames!mindcraft.com!karish From: karish@mindcraft.com (Chuck Karish) Newsgroups: comp.unix.misc,comp.editors Subject: Re: VI (can you fully justifiy test) Keywords: VI, vi, editing tricks Message-ID: <668287724.2919@mindcraft.com> Date: 6 Mar 91 19:28:43 GMT References: <1991Mar5.223022.14261@informix.com> Organization: Mindcraft, Inc. Lines: 14 In article <1991Mar5.223022.14261@informix.com> billd@infmx.informix.com (William Daul) writes: >Is there a way to fully justify text in VI? :map @ 1Gi.ad b^V^M^V^[-!Gnroff (all keystrokes shown; "^V" (CTRL-V) is there to escape the carriage return and the ESC) After you make this macro, typing '@' from command mode will call nroff to justify the whole file. Chuck Karish karish@mindcraft.com Mindcraft, Inc. (415) 323-9000