编译安装vim8
- 下载源码
git clone https://github.com/vim/vim.git /usr/local/src/
- 编译安装
./configure --with-features=huge --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-python3interp=yes --enable-multibyte --with-python-config-dir=/usr/bin/python --with-python-config-dir=/usr/local/bin/python3 --enable-cscope
make && make install
- 安装vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# 配置.vimrc
set nocompatible
filetype off
set number
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VuldleVim/Vundle.vim'
"Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/nerdtree'
Plugin 'majutsushi/tagbar'
Plugin 'Lokaltog/vim-powerline'
Plugin 'davidhalter/jedi-vim'
call vundle#end()
filetype plugin indent on