All of a sudden it will not auto indent , and I didn't make any changes to settings . ANyone know how to fix this ? ( I am using the windows version 7.1 )
All of a sudden it will not auto indent , and I didn't make any changes to settings . ANyone know how to fix this ? ( I am using the windows version 7.1 )
What about a completely new source file, in another directory.
Is that similarly affected?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
From http://www.eng.hawaii.edu/Tutor/vi.html#settingsFor example, the command set autoindent, you can type :set autoindent or :set ai. To unset it, you can type :set noautoindent or :set noai.
You could put that into your configuration file.
I don't know why it would stop in the first place, though. Did you start using a different filename extension? Perhaps it only autoindents for .c files and not .txt files or something.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.