linux vbundle插件配置
1.新建目录,clone源码
mkdir ~/.vim/bundle/ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
2.添加配置,vim /etc/vim/vimrc
set nu set encoding=utf8 "设置文件编码 set paste "粘贴文本,不改变原先排版格式 set expandtab "空格代替制表符 set autoindent set tabstop=4 set softtabstop=4 "缩进为4个空格 set shiftwidth=4 "缩进为4个空格 set backspace=indent,eol,start "回退键 "indent: 如果用了:set indent,:set ai 等自动缩进,想用退格键将字段- set incsearch "在输入时逐个字符搜索 set hlsearch set ignorecase "忽略大小写 "set mouse=a set foldlevel=0 syntax on "高亮显示 set autoread set showmatch set cursorline set cursorcolumn set report=0 set ruler syntax enable set fdm=indent set nocompatible "not compatible with vi filetype off "required set rtp+=~/.vim/bundle/vundle/ call vundle#begin() "let Vundle manage Vundle Plugin 'VundleVim/Vundle.vim' Plugin 'gmarik/vundle' Plugin 'Valloric/YouCompleteMe' Plugin 'L9' call vundle#end() set filetype=python