Install Vundle > https://github.com/VundleVim/Vundle.vim
install Valloric/YouCompleteMe (need to have cmake installed) : cd ~/.vim/bundle/YouCompleteMe ./install.py --clang-completer add --all to enable all language features
SEE The ultimate Vim configuration: vimrc : https://github.com/amix/vimrc