John Nowak successfully answered Adam Thorsen's question:

I would like to know how to user auto-indent in VIM. Can someone please give me a tutorial?

People succeed in answering Adam Thorsen's questions 46% of the time (24 successes in 52 attempts).

Answers by: Dane Summers | John Nowak

Dane Summers's Answer:

Chat Conversation 936 days ago

you should also look at the 'expandtab' option - I'm a complete tab snob when it comes to formatting so it kinda matters to me Dane Summers at 7:47 AM on Wednesday June 14th, 2006
that is do 'noexpandtab' - I tend to have the following....:set noet|set ts=2|set sw=2 Dane Summers at 7:48 AM on Wednesday June 14th, 2006
lso, in general, if in doubt use the 'list' command. I like to use this (I think I already showed you this)...:set lcs=tab:\ \ ,trail:+ Dane Summers at 7:48 AM on Wednesday June 14th, 2006
and...:hi SpecialKey term=underline ctermfg=1 ctermbg=7 guifg=Red guibg=LightGrey Dane Summers at 7:48 AM on Wednesday June 14th, 2006
to see tabs and trailing spaces then do...:set list --- to turn it off...:set nolist Dane Summers at 7:48 AM on Wednesday June 14th, 2006
that'll highlight all your tabs as lightgrey spaces...and if you have any trailing spaces on a line they'll show up as red '+' signs. Dane Summers at 7:49 AM on Wednesday June 14th, 2006