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

Aditya Godbole aag.lists at gmail.com
Fri Oct 7 04:02:33 PDT 2011

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


More information about the plug-mail mailing list