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

Mayuresh mayuresh at acm.org
Tue Oct 11 09:41:41 PDT 2011

On Tue, Oct 11, 2011 at 08:39:45PM +0530, Aditya Godbole wrote:
> vim autoindents even if you explicitly say :set noai? Interesting.

Yes I found it weird.  But when I read the help I think it makes sense. ai
is about auto-indenting with previous line's indent as the basis.

I was talking about syntax based indent i.e. if I type "if" in a file with
extension .sh, it will indent the next line automatically etc.


More information about the plug-mail mailing list