码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2016-06-22 23:22:29      阅读:239      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!