Integrate cstyle with syntastic to automatically check the style of your C/C++ code on the fly
Use your favourite plugin manager :) - or if you use Pathogen you can put syntastic-cstyle into ~/.vim/bundle
like this:
cd ~/.vim/bundle && \
git clone https://github.com/alexmurray/syntastic-cstyle.git
Then enable by setting the following in your /.vimrc
:
let g:syntastic_c_checkers = ['cstyle']
Then quit and reload vim.