[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto turn vi auto indenting off for html files



On Sat, 2003-10-04 at 12:58, Joris Huizer wrote:
> --- Ron Johnson <ron.l.johnson@cox.net> wrote:
> > On Sat, 2003-10-04 at 09:10, Joris Huizer wrote:
> > > Hello everybody,
> > > 
> > > I like using VIM as it gives syntax highlighting
> > and
> > > auto indenting on C files... 
> > > But I don't like the auto indenting of html files.
> > How
> > > can I turn it off for one session - or even
> > better,
> > > for all html files ?
> > 
> > :set noai
> > 
> > -- 
> 
> Well I no difference in behavior when I do that... I
> added my .vimrc maybe there's something weird there...

I know this is a stupid question, but did you restart vim after
adding 'set noai' to ~/.vimrc ?

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

4 degrees from Vladimir Putin



Reply to: