Vim configuration script of ubuntu

Source: Internet
Author: User

I personally think the vim configuration will be helpful to the novice, because I am also a newbie, please ignore it.

When we installed Ubuntu, we may not have Vim. We can only use VI. Vim is an upgraded version of VI. We are not used to the vim editor for beginners, but we must work hard to adapt to it.

Okay, let's talk about the installation.

When we are sure we can access the Internet, we use apt for installation (we all know that it is more convenient to use apt for installation, so we do not need to consider dependent files ). Enter sudo apt-Get install Vim in the command line and press enter to install the tool. In this case, you can simply enter the password to install it. Then, enter Vim test. c In the command line and Type A simple C code. At this time, VIM will have the following problems: 1. The most terrible Tab key is actually eight spaces, not four spaces. It is too troublesome if you try to break four spaces. 2. Some keywords do not change color, but do not change color when you knock multiple parentheses. 3. Main + Tab key. Try it.

Download installation vimconfig.tar.bz2 (http://pan.baidu.com/s/11ZEOI)

Enter the password of the current user name for installation in the directory.

After installation, try it. Enter main and press tab.

Check whether it is convenient. Press the tab key to empty the front end and turn it into four spaces, and the row number is automatically displayed.

I wrote a technical blog for the first time and thought it was very useful. I would like to share it with you.

 

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.