VIM 8.0 Installation experience on Mac OS

Source: Internet
Author: User
Tags using git git clone

VIM 8.0 to be released before Mid-Autumn festival

The best-use-to-install Vim on Unix-to-use the sources. This requires a compiler and its support files. Compiling Vim isn ' t difficult at all. You can simply type ' make install ' when your is happy with the default features. Edit the Makefile in the ' src ' directory to select specific features.

Using Git clone is a waste of time, or it's better to download a compressed package. Select the latest version on the Github Vim releases list and download it. For example, I downloaded the vim-8.0.0004.tar.gz. The size of the source package is 12.9M huge. Extract

tar xvzf vim-8.0.0004.tar.gz
Compiling the installation

Continue to follow the compilation parameters of Vim7.4 on Mac 10.11

./configure --prefix=/opt/local --with-features=huge --enable-pythoninterp=yes --enable-multibyte --with-vim-name=vim --with-python-config-dir=/usr/lib/python2.7/config

Note: Because I want to use ultisnips, I added Python support.

makesudo make install

But when I knocked on sudo make install, I peed.

% sudo make installWe trust you have received the usual lecture from the local SystemAdministrator. It usually boils down to these three things:    #1) Respect the privacy of others.    #2) Think before you type.    #3) With great power comes great responsibility.

Well, the greater the capacity, the greater the responsibility, I solemnly entered the password. The installation process is complete.

Basic functionality Experience

After entering vim, a familiar screen appears

No error, stating that there is no compatibility problem with the previous VIMRC configuration. Also tested a few lines of the best good Hello world is no problem. Very good compatibility. Previous snippets can also be used normally.

New Features-Package management

Look at the package management features that Vim 8 comes with

:h package

No sense, because I have not written a plugin ... or continue to use my vundle.

VIM 8.0 Installation experience on Mac OS

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.