> 
> I've been using vim to edit shell scripts. Tonight, when I go to
> continue editing my files, I find that automatic indenting is off.
> 
> a) How the hell did this happen?
> b) How do I correct it?
> 

In your home directory, create .vimrc with the contents:

    set ai


HTH,
Des.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to