[PLUG] vim: How to stop it from indenting automatically
shantanoo at gmail.com
Tue Oct 11 21:07:43 IST 2011
On Fri, Oct 07, 2011 at 07:48:45PM +0530, Mayuresh wrote:
> On Fri, Oct 07, 2011 at 04:32:33PM +0530, Aditya Godbole wrote:
> > On Sat, Oct 1, 2011 at 8:27 PM, Mayuresh <mayuresh at acm.org> wrote:
> > > On Sat, Oct 01, 2011 at 08:22:36PM +0530, Mayuresh wrote:
> > >> It is not the "autoindent" setting. set noai doesn't solve it.
> > >
> > > Said setup had the following line in its exrc. Commenting it out solved
> > > the problem.
> > >
> > > filetype plugin indent on
> > >
> > The filetype plugin is quite useful if you are coding. If you want to
> > set indentation off only occasionally, you can :set noai. Set it again
> > using :set ai
> > -aditya
> My first mail already mentions that it is not the autoindent option.
> Setting noai doesn't solve it. Only commenting out filetype plugin does.
> After your mail I confirmed again. It's the same as above.
---End of quoted Text---
You may like to disable smart indent. ':set nosi'.
More information about the Plug-mail