home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!peora!tarpit!tous!bilver!bill
- From: bill@bilver.uucp (Bill Vermillion)
- Subject: Re: IS UNIX DEAD? (long)
- Organization: W. J. Vermillion - Winter Park, FL
- Date: Fri, 20 Nov 1992 18:04:51 GMT
- Message-ID: <1992Nov20.180451.15320@bilver.uucp>
- References: <BxGu2H.A62@undergrad.math.waterloo.edu> <1992Nov10.164647.11030@bilver.uucp> <BxKMo9.3HI@undergrad.math.waterloo.edu>
- Lines: 39
-
- In article <BxKMo9.3HI@undergrad.math.waterloo.edu> papresco@napier.uwaterloo.ca (Paul Prescod) writes:
- >>>Why doesn't VI use the jkl; keys for cursor movement, since your fingers
-
- >>Yes - I noticed that you let the words continue on a very long line.
- >>But since vi needs to be a program editor too, there are options of
- >>continuing long lines, or to have them wrap just like vi is doing for
- >>me right now. set wrapmargin=5 will do nicely.
-
- >Does VI need to be program editor when I'm in RN? Surely RN could set
- >VI to word wrap mode, as I am certain they work together often.
-
- Unix is customizable for what you want. If your main use is in a news
- reader just set a file .exrc to contain the lines you need. Mine
- defaults to numbering the lines and wrapping when I am in trn (haven't
- used RN for years)
-
- Mine looks like this. (Ignore the first two lines.)
-
- map ^i/* A */^
- map :1,$s/^M$//
- set wrapmargin=9
- set nu nomesg autoindent
- ab sss :ws
-
- That way it autmatically wraps when it is 9 characters from the end,
- comes up in line number mode. WIll stay indented until I press CTRL-D
- if I indent, and turns off messages to me while in vi.
-
- If I type 3's in a row it will automatically save the file. (I
- couldn't think of any words that has s three times, so I figured that
- one was safe).
-
- Customize it the way you want. You can set EXINIT in your environment.
-
- --
- Bill Vermillion - bill@bilver.oau.org bill.vermillion@oau.org
- - bill@bilver.uucp
- - ..!{peora|tous|tarpit}!bilver!bill
-
-