home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!hri.com!ukma!kherron
- From: kherron@ms.uky.edu (Kenneth Herron)
- Newsgroups: comp.unix.admin
- Subject: Re: Help! How do I suppress vi tab substitution?
- Keywords: vi tab hate
- Message-ID: <1993Jan12.123644.29314@ms.uky.edu>
- Date: 12 Jan 93 17:36:44 GMT
- References: <1993Jan11.202024.10292@elsouth.uucp>
- Distribution: na
- Organization: University Of Kentucky, Dept. of Math Sciences
- Lines: 19
-
- In article <1993Jan11.202024.10292@elsouth.uucp>, john@elsouth.uucp (John White) writes:
- > I'm in Unix Sys V Rel 3.0 Ver 4 and my vi editor has the
- > annoying habit of substituting 8 spaces for 1 tab. This is cute,
- > but since my indenting is based on 3 spaces and that doesn't
- > divide cleanly into 8, I'm often more annoyed than fond of this
- > "feature". Is there a way to tunr this off?
-
- 1 tab == 8 spaces is the "standard" tab expansion under unix. Vi
- has a "tabstop" parameter which lets you tell it how many spaces
- to expand tabs, eg
-
- :set tabstop=3
-
- will probably do what you sound like you want.
- --
- Kenneth Herron kherron@ms.uky.edu
- University of Kentucky +1 606 257 2975
- Dept. of Mathematics "Your ball goes over them, it sails off the edge into a
- huge cauldren of fire-breathing dragons." "And they call this a par three?"
-