WSL Ubuntu 16.04 源码安装 VIM8

更新日期: 2018-08-17 阅读次数: 10197 分类: Vim

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

关于作者 🌱

我是来自山东烟台的一名开发者,有敢兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式