Date: Mon, 31 Mar 1997 19:17:30 -0800 (PST) From: Annelise Anderson <andrsn@andrsn.stanford.edu> To: jadeite <jadeite@light.pomona.edu> Cc: Jack W Doyle <n9ogk@juno.com>, freebsd-questions@freebsd.org Subject: Re: vi question Message-ID: <Pine.BSI.3.94.970331191539.14903A-100000@andrsn.stanford.edu> In-Reply-To: <Pine.BSF.3.95q.970331180718.2069A-100000@light.pomona.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Mar 1997, jadeite wrote: > Well, > You can type (within vi) :set wrapmargin=#, where # is the size of > the right margin that will be used to autowrap the text as you type. You > can type :set wrapmargin? to find out the default value. If you would > like this to be set everytime you start up vi, you call make a .exrc file > in your home directory and that will be your default configuration. If > you would like shortcut keys, you can type "map shortcut_keys > sequence_of_commands" eg. map nw :set wrapmargin=0 > Hope this helps. Yes, but if you do that, you'll get hard carriage returns at the end of every line. This is not "like a wordproc". Annelise > > On Mon, 31 Mar 1997, Jack W Doyle wrote: > > > One question: How can I set vi to automatically wrap words like a > > wordproc, with another alias to override that setting if I am to write > > programs? > > > > Jack > > > > > > You know you've been using UNIX enough when: > > * You remember UNIX commands faster than those for DOS. > > * You try to configure Win95 the same way you try to configure your X > > window manager. > > * Someone asks you what wordproc you use and you reply 'vi' (or your > > favorite text editor). > > * You type 'ls -a' instead of 'dir /w' in DOS. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970331191539.14903A-100000>