WSL Ubuntu 16.04 源码安装 VIM8

发布时间: 2018-08-17 14:07:28 作者: 大象笔记

WSL Ubuntu 16.04 内置的 VIM 版本为 7.4 .

使用了 Completor 插件会报错

Completor requires vim compiled with python or python3 and has features job, timers and lambda

从 https://github.com/vim/vim/releases 下载最新版本的 VIM8,编译安装

sudo apt-get install gcc python-dev libncurses5-dev libncursesw5-dev
./configure --prefix=/opt/local --with-features=huge --enable-pythoninterp=yes --enable-multibyte --with-vim-name=vim --with-python-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu/
make
sudo make install
我是一名山东烟台的开发者,联系作者