From source build vim

Source: Internet
Author: User
Tags git clone

How to build Vim

1. Build Step

git clone--depth1Https//github.com/vim/vim.git # Download the source codeCD vim/src MakeDistclean # Clean WorkspaceifYou build vim before./configure--enable-pythoninterp--enable-rubyinterp--enable-Python3interp--enable-perlinterp--enable-luainterp--with-compiledby--enable-tclinterp # can be ommitedif  DoNot used these features Makesudo  Make Install#InstallThe build bin to SystemfilePath

Note :
1) Before build can remove the old version of Vim
sudo apt-get remove Vim-common vim-gnome vim-runtime vim-tiny vim-gtk
2) Install build Vim required dependency (unconfirmed not installed Yes Yes)
sudo apt-get build-dep vim (if there is a dependency problem with aptitude to solve)

2. How to confirm build success:

1) Open vim, the interface displays version 7.4.2161 (the latest version number)
2) Vim--version detection version number and compile time
Vim-vi Improved 7.4 (compiled 6 2016 16:04:21)
...
3): Version also detects the revision number and compile time

7.4. 1529  7.4. 2161  7.4. 1655 (Macvim)


3. Some impressions
Very happy, has been troubled by my gvim choice when the last character dropped the bug finally did not exist, and, I finally learned
How will the source build vim, which means I can always ensure that my vim is the latest version, once there is any
Bug fix, I can update my vim! in time


Refer to:

1. The most important reference: the Vim repository at GitHub
2. Delete old version and Python support: compiling Vim with Python and Ruby supports on Ubuntu

From source build vim

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.