[PLUG] vim: How to stop it from indenting automatically

Mayuresh mayuresh at acm.org
Fri Oct 7 07:18:45 PDT 2011


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.

Mayuresh.



More information about the plug-mail mailing list