Path: utzoo!utgpu!water!watmath!clyde!att!mtuxo!mtunx!bakerst!kathy From: kathy@bakerst.UUCP (Kathy Vincent) Newsgroups: comp.unix.questions Subject: Re: HOW DO I MAKE VI'S AUTOINDENT NOT USE TABS? Summary: How about setting autoindent to noautoindent? Message-ID: <1219@bakerst.UUCP> Date: 26 Jun 88 15:38:03 GMT References: <3493@ut-emx.UUCP> <8979@dartvax.Dartmouth.EDU> <2965@tekig4.TEK.COM> Reply-To: kathy@bakerst.UUCP (Kathy Vincent) Organization: AT&T During the Day, Winston-Salem, NC Lines: 45 In article <2965@tekig4.TEK.COM> clarkm@tekig4.UUCP (Clark Morgan) writes: > > Vi is a nice editor: it gets the job done quickly and uses > minimal key strokes to accomplish a given task. But I can't > stand the fact that it puts tabs in my documents/programs when > I never even touched the Tab key. If the designers of this > program thought that auto-tab-insertion was such a neat idea, > how come they didn't go the extra mile and give us an option > that says: "I won't auto-tab your files." I'm coming in late to this discussion, so if I missed something, well, sorry. But there *is* an option that says not to auto-tab. I use vi all the time - using SVR2 and SVR3 on 3B20s, and using 3.5 UNIX on my on my UNIX PC. I never get any tabs I don't explicitly ask for. I did a :se all to check the settings I have when I'm working, and included in the list is one noautoindent That must be the default on all the systems I work on because I don't ever set up anything. If I reset that with :se autoindent I get the automatic indention/tabbing I gather you're talking about. But resetting to :se noautoindent turns it off again. If it matters, hardtabs=8 and tabstop=8. Kathy Vincent ------> {ihnp4|att|codas|pacbell}!bakerst!kathy ------> { favourite AT&T gateway }!wruxh!unix