longraider wrote:

The set autoindent smartindent is the solution, thanks a lot.

You know, vim 7.0 hasn't changed the autoindent/smartindent area (except possibly for bug fixes)
from v6.4 insofar as I am aware.  And I do use autoindent (and cindent).

So the question in my mind is: why did this change for you when you upgraded? One way that may have occurred is if you edited the system files and put settings and customizations in there. If that's what you in fact did, then I suggest that its Much Better (tm) to use $HOME/.vimrc and $HOME/.vim/ instead for such things. You won't lose your customizations that way when you
upgrade.

Regards,
Chip Campbell

Reply via email to