Below are the instructions for installing YouCompleteMe on Mac OS X
brew install cmakecd ~/.vim/bundlegit clone https://github.com/Valloric/YouCompleteMe.gitmkdir YouCompleteMe/ycmbuildcd YouCompleteMe/ycmbuildcmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp/make ycm_core- Restart Vim
- Enjoy
you need 3.5,3.6 between 3 and 4.
3.5
cd ~/.vim/bundle/YouCompleteMe3.6
git submodule update --init --recursive