[PLUG] vim: How to stop it from indenting automatically
Aditya Godbole
aag.lists at gmail.com
Fri Oct 7 16:32:33 IST 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
-aditya
More information about the Plug-mail
mailing list