Upgrade vim7.1

Source: Internet
Author: User
Upgrade vim7.1-general Linux technology-Linux programming and kernel information. For details, refer to the following section. I plan to use the GUI recently. I want to upgrade vim to support gvim.

[Root @ mylinux ~] # Tar-xvf vim-7.1.tar // unzip
[Root @ mylinux ~] # Cd vim71
[Root @ mylinux ~] #./Configure -- prefix =/usr/local/vim7 -- with-x -- enable-gui = gtk2 -- with-features = big

Install gvim on the/usr/local/vim7 directory

[Root @ mylinux ~] # Make // compile
[Root @ mylinux ~] # Make install // install
[Root @ mylinux ~] # Mv/usr/bin/vim/usr/bin/vim63 // rename vim6.3
[Root @ mylinux ~] # Ln-s/usr/local/vim7/bin/vim/usr/bin/vim // create a symbolic link for vim7.1
[Root @ mylinux ~] # Ln-s/usr/local/vim7/bin/gvim/usr/bin/gvim // create a gvim Symbolic Link

Everything went well, but we found vim7.1

1. syntax highlighting cannot be displayed.

2. backspace failure
In fact, vim didn't set this by default. They should all be set in the vimrc file. However, vim63 of the release (redhat) helped you modify it.

Now you must explicitly set these parameters for source code installation and modify the vimrc file.

Add the following two lines:
Set backspace = 2
Syn on

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.