Vim installation Youcompleteme

Source: Internet
Author: User

Vim under the automatic completion, the best tool is youcompleteme, official documents here http://valloric.github.io/YouCompleteMe/

The installation is slightly more complicated and the following records my process.

1. Installing Vundle

Vundle is a plug-in manager under Vim, if before you configure Vim is to manually place the Xxx.vim configuration file to the appropriate directory, then now you want to install Vundle, because Youcompleteme is based on Vundle installation,

Vundle's github address: Https://github.com/VundleVim/Vundle.vim

-Git clone plugin$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

-Add the following to the front of the ~/.VIMRC file,

"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ for Vundle Start
Set nocompatible "be improved, required
filetype off "required

set the runtime path to include Vundle and initialize
Set Rtp+=~/.vim/bundle/vundle.vim
Call Vundle#begin ()

"Alternatively, pass a path where vundle should install plugins
"Call Vundle#begin (' ~/some/path/here ')

"Let Vundle manage Vundle, required
Plugin ' Vundlevim/vundle.vim '

"Install youcompleteme
Plugin ' valloric/youcompleteme ' Note that this is the plugin to install youcompleteme

"All of your Plugins must is added before the following line
Call vundle#end () "required
filetype plugin indent on "required


"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ for Vundle End

Save Close.

-Start Vim, execute command :PluginInstall 将出现如下安装画面,(YouCompleteMe 插件较大,请耐心等待)

 

Vim installation Youcompleteme

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.