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

Mayuresh mayuresh at acm.org
Tue Oct 11 22:11:41 IST 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.

Mayuresh.




More information about the Plug-mail mailing list