git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
我自己习惯的配置
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'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'git://github.com/ycm-core/YouCompleteMe.git'
call vundle#end() " required
filetype plugin indent on " required
set nu
set ts=4
set shiftwidth=4
set softtabstop=4
set expandtab
set autoindent
set shell=/bin/bash
打开vim执行 PlugInstall 命令 自动安装完成
该配置目前是我配置用来补全C++代码的,其他的请谨慎参考,具体教程请参考网络上其他文章详解。