您的位置:首页 > 其它

Installation of vim plugin --- YouCompleteMe

2015-07-07 00:00 309 查看
摘要: Ubuntu 14.04
YouCompleteMe Installation

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: