WSL Ubuntu 16.04 源码安装 VIM8

文章目录

    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 聊聊,或者关注我的个人公众号“大象工具”, 查看更多联系方式