Skip to content

Instantly share code, notes, and snippets.

@c0ldlimit
Last active August 29, 2015 14:18
Show Gist options
  • Save c0ldlimit/17d5e2ba913b6e564693 to your computer and use it in GitHub Desktop.
Save c0ldlimit/17d5e2ba913b6e564693 to your computer and use it in GitHub Desktop.
#youcompleteme vim install
sudo apt-get update
sudo apt-get install build-essential cmake
sudo apt-get install python-dev
#install vundle https://github.com/gmarik/Vundle.vim#about
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
#modify .virmc to use Vundle per https://github.com/gmarik/Vundle.vim#about
#Add a line like 'Plugin "Valloric/YouCompleteMe"' in bet
# run :PluginInstall to install all the specified plugins from VIM
# https://github.com/Valloric/YouCompleteMe
cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer
# Python works out of the box but C needs to modify a .ycm_extra_conf.py file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment