home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6380 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.3 KB

  1. Path: sparky!uunet!gatech!purdue!sjc
  2. From: sjc@cs.purdue.EDU (Steve Chapin)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: FLT_DIG, tabs, FPU, yacc
  5. Message-ID: <19112@ector.cs.purdue.edu>
  6. Date: 22 Jul 92 09:08:36 GMT
  7. References: <1992Jul22.082501.20615@athena.mit.edu>
  8. Sender: news@cs.purdue.EDU
  9. Organization: Department of Computer Science, Purdue University
  10. Lines: 30
  11.  
  12. }} In article <1992Jul22.082501.20615@athena.mit.edu> J.Jagger@sheffield-city-poly.ac.uk writes:
  13. }} 
  14. }} Couple of other queries.
  15. }} 1. I hate a tab size of 8 in vi. I much prefer 4. How can I change
  16. }} this. Is there a port of tabs* anywhere?
  17.  
  18. Depends on what you want.  If you just want them to appear as 4 space
  19. tabs (and don't care how it's actually stored in the file), you can
  20. set your tabstop to 4 spaces via
  21.  
  22. set ts=4
  23.  
  24. If you want to make tabs map to 4 spaces in input mode, it's
  25.  
  26. map! ^V^I ^V    <cr>
  27.  
  28. The ! means input mode, not command mode.  
  29.  
  30. This doesn't quite do what you might want in all cases, as it
  31. literally expands the tab to 4 spaces.
  32.  
  33. Both examples are for your .exrc file.
  34.  
  35. }} :: Jon Jagger  asjrbj@oak.scp.ac.uk
  36.  
  37. sjc@cs.purdue.edu               Steve Chapin           Today's Grammar Lesson:
  38.                 The effect of his affected accent affected her,
  39.                    and effected a change in her affections.
  40.  
  41.              If I don't want it in my back yard, I don't want it.
  42.