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.