YCM安装教程
下载插件管理工具Vundle
在~目录下有一个.vimrc,我们安装插件只需按照规则中添加 Plugin 的名称,然后回到vim输入:PluginInstall
就可以自动化安装
- 新建目录
mkdir ~/.vim/bundle/Vundle.vim
- 将Vundle克隆到本地
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- 修改.vimrc的配置
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()
“ 将插件名称写在此处
Plugin 'VundleVim/Vundle.vim'
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdat