home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13712 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.9 KB  |  50 lines

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