首页 > 编程语言 > 详细

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

时间:2016-06-22 23:20:51      阅读:267      评论:0      收藏:0      [点我收藏+]

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

原文:http://www.cnblogs.com/spaceship9/p/5608700.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!