Vim Common configuration and plug-in installation use

Source: Internet
Author: User

The Vim editor is used in Linux. After finding some information, I tried to configure it. Here are some procedures.

The first thing you need to know is that the VIM-related configuration is written in the ~/.VIMRC file. My notes below only configure some of my commonly used features, if you need to know all the configuration, you can directly search VIMRC. A blog link is recommended here (http://www.cnblogs.com/ma6174/archive/2011/12/10/2283393.html)

#vim ~/.VIMRC

After entering edit mode, you can choose some of your favorite configurations to put in. Note: ".... This represents the comment information

Set IgnoreCase "Ignore case when searching"

Set Smartcase Search, if the first letter is uppercase, the case search is not ignored.

Set Autowrite "Auto Save. Not all times are automatically saved, and are saved automatically only after you have used certain commands. So it is recommended that you use the W command to save.

Note: Next,: Rewind,: Last,: First,:p revious,: Stop,: Suspend,: Tag,:!,: Make, Ctrl] and ctrl-^,: Buffer, Ctrl-o, Ctrl-i, ' { A-z0-9} or ' {a-z0-9}

Vim Common configuration and plug-in installation use

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.