Q:Why Install it?
A:For Intelligent completion
Github: https://github.com/Valloric/YouCompleteMe
Github: https://github.com/gmarik/Vundle.vim
If install YCM ,Need install Vundle first.
Vundle is a vim plugin managment tool.
ENV: git (if not have, "#sudo apt-get install
===Chapter one ===
1.Get vundle code
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
2.Edit git config file
vim .vimrc
-----
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'Valloric/YouCompleteMe'
call vundle#end()
filetype plugin indent on
-----
3.Install accord to configuration
With in vim ::PluginInstall
Outer of vim: vim +PluginInstall +qall
Then,waiting for result.
=== Chapter two ===
ENV:cmake ...etc
1.env
sudo apt-get install build-essential cmake
sudo apt-get install python-dev
2.Install YCM
cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer/--gocode-completer
转载于:https://my.oschina.net/u/2407499/blog/475784