On Sun, Nov 18, 2001 at 05:24:22PM +0200, Shaul Karl wrote: | Is there a way to have vim force a standard and consistent style? Once
:help autoindent :help smartindent :help cindent In my .vimrc I have : augroup Cpp au! au FileType cpp set ai si cin sts=4 sw=4 et tw=80 fo=croqn2 au FileType cpp set nofoldenable au FileType cpp set foldmethod=syntax au FileType cpp syn region Block start="{" end="}" transparent fold " syn region Comment start="/\*" end="\*/" fold au FileType cpp set nofoldenable augroup END HTH, -D