It would be great if anybody could share whole .vim/ && .vimrc. I could write OpenBSD Vim C Programming manual once and for all.
2010/8/8 Darrin Chandler <dwchand...@stilyagin.com>: > On Sun, Aug 08, 2010 at 04:39:56PM +0200, Tomas Vavrys wrote: >> Does any developer use c.vim plugin? I can't get it working properly >> according to STYLE(9). I would appreciate your settings. What other >> Vim plugins do you use? > > I have this in ~/.vim/after/ftplugin/c.vim: > > set cinoptions=t0,+4,(4,u4,w1 > set shiftwidth=8 > set softtabstop=8 > let c_space_errors=1 > > That gets me somewhat close. Anyone want to share other ways or > refinements? > > -- > Darrin Chandler B B B B B B | B Phoenix BSD User Group B | B MetaBUG > dwchand...@stilyagin.com B | B http://phxbug.org/ B B B | B http://metabug.org/ > http://www.stilyagin.com/ B | B Daemons in the Desert B | B Global BUG Federation