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

后端开发   发布日期:2025年07月18日   浏览次数:113

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.

 

My previous Vim Python IDE settings on Github: https://github.com/xros/dotfiles

 

Using this command to check whether it has

  1. vim --version

 

I have compiled one deb package for Ubuntu 16.04

Remove old ones and install this one

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

 

Go install dependencies 

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

 

Go get it

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

 

  1. dpkg -i vim_7.4.1952-1_amd64.deb

 

Check it out

  1. vim --version

 

To make it the default editor

  1. sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim
  2. sudo update-alternatives --set editor /usr/bin/vim
  3. sudo update-alternatives --install /usr/bin/vi vi /usr/bin/vim
  4. 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的详细内容,更多关于Vim 7.4.1952 with Python/Ruby/Lua/Perl/C Syntax built for Ubuntu 16.04 x86_64的资料请关注九品源码其它相关文章!

上一篇:php日期转换为时间戳的方法
下一篇:Ruby