home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / editors / 3277 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.2 KB

  1. Path: sparky!uunet!psinntp!heimdall!sdrc.com!rob.gabbard
  2. From: rob.gabbard@sdrc.com (Rob Gabbard)
  3. Newsgroups: comp.editors
  4. Subject: Help : Need to map TAB to # of spaces in VI
  5. Message-ID: <538@heimdall.sdrc.com>
  6. Date: 22 Jan 93 19:26:43 GMT
  7. Sender: news@heimdall.sdrc.com
  8. Followup-To: comp.editors
  9. Organization: SDRC, Graphics and User Interface Group
  10. Lines: 14
  11.  
  12. When I hit TAB in VI I want it to simply insert three spaces instead of an
  13. actual TAB. I know I can set ts=3 and shiftwidth=3, etc. but I simply don't
  14. want TABs in my file.  I even defined a macro that substitued all TABs with three spaces (with the above settings) but this caused all sort of strange visual effects for obvious reasons.  Is there a way to do this ?
  15.  
  16. Thanks in advance
  17.  
  18. -- 
  19. ******************************************************************************
  20. Rob Gabbard, SDRC                 * All statements and opinions are my own. My
  21. Cincinnati, OH                    * employer disagrees with most of what I say
  22. rob.gabbard@sdrc.com              * anyway.
  23. ******************************************************************************
  24. "Life goes by pretty darn fast, if you don't stop to take a look around, you
  25.  might miss something." - Ferris Bueller
  26.