Vim 7.4.1952 with Python/Ruby/Lua/Perl/C Syntax built for Ubuntu 16.04 x86_64

Posted Welcome to spaceship9

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Vim 7.4.1952 with Python/Ruby/Lua/Perl/C Syntax built for Ubuntu 16.04 x86_64相关的知识,希望对你有一定的参考价值。

The default Vim provided by Ubuntu 16.04 even did not have Python support. That‘s insane. 

I say, what if I wanted to use Vim as a Python IDE in Linux as before? Ubuntu, you can‘t be so careless.

Using this command to check whether it has

vim --version

 

I have compiled one deb package for Ubuntu 16.04

Remove old ones and install this one

sudo apt-get remove vim-tiny vim-common vim-gui-common

 

Go install dependencies 

mkdir /usr/share/vim/vim74/ -p

 

Go get it

https://drive.google.com/open?id=0BzL1CwVspEkiS2lwUURsQUMtYUU

 

dpkg -i vim_7.4.1952-1_amd64.deb

 

Check it out

vim --version

 

To make it the default editor

sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim 1
sudo update-alternatives --set editor /usr/bin/vim
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/vim 1
sudo update-alternatives --set vi /usr/bin/vim

 

More info here:

https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source

 

Have fun!

 

以上是关于Vim 7.4.1952 with Python/Ruby/Lua/Perl/C Syntax built for Ubuntu 16.04 x86_64的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu16.04下编译vim with python support失败的原因

vim74安装

Vim安装YouCompletMe插件。

vim 常用配置

添加python支持到vim

vim with space-vim