HOW DO I MAKE VI'S AUTOINDENT NOT USE TABS?
Kathy Vincent
kathy at bakerst.UUCP
Mon Jun 27 01:38:03 AEST 1988
In article <2965 at tekig4.TEK.COM> clarkm at 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
More information about the Comp.unix.questions
mailing list