vim8的源码安装和简单配置

编译安装vim8

  1. 下载源码
git clone https://github.com/vim/vim.git /usr/local/src/
  1. 编译安装
./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
  1. 安装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

原文地址:https://www.cnblogs.com/tmdhhl/p/10828139.html