Installation of vim plugin --- YouCompleteMe

本文介绍如何通过安装Vundle和YouCompleteMe(YCM)来增强Vim编辑器的功能,实现智能补全等功能。首先安装Vundle作为插件管理工具,接着配置并安装YCM以提供更强大的代码补全支持。
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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值