Use of Vim

Source: Internet
Author: User

First, the use of vim

Vim is a text editor developed from VI. Code completion, compilation and error jumps and other convenient programming features are particularly rich, is widely used in programmers, and Emacs parallel to become UNIX-like system users favorite text editor.
In my opinion, Vim is the first thing to know about Vim's operating methods.

Common keys:


command-line mode keys:

Vim is really very powerful, and it is a cross-platform convenience software, but if you do not grasp the use of these keys, it is not even as convenient as gedit and Notepad, so you want to use good vim first of all to remember these convenient basic keys.

Second, the use of VIM plug-in

Vim is particularly powerful because it can load a number of feature-friendly components that can be used to simplify many of the operational processes.

2.1 C.VIM:C Programmer Plugin

The specific installation steps of the plugin can be understood through this link.

    • Tutorial
      When you are well open, you can see this effect:

      Vim plug-ins and more than this one, there are many plug-ins, in my opinion the most important significance of this tutorial is not to teach you to apply the C plug-in, but to teach you how to use the plugin, how to edit the template, you can edit the line number yourself, edit the corresponding highlighting, different case mode, create the most comfortable template.
2.2VOoM (original Voof:vim implementation with folding double-column tree-like text management)

This plugin is mainly used in the Vim software under Windows, the Vim under Windows is called Gvim,

This is the vim under Windows, exactly the same as the one used by Vim under Linux, a true cross-platform use.
The specific installation steps of the plugin can be understood through this link.

    • Tutorial
Iii. problems that need to be solved in the course of use

1. After installing Voom, I have been prompted to not match the Python version.

But I have tried Python2.7 and Python3.2 to test, but still show a mismatch, so the plug-in installation failed.

2. The second problem is that I did not find a tutorial on how to install the plugin on Linux, and the tutorials and other tutorials found on the web are all about installing plugins on Gvim in Windows.

3.Linux on the use of Vim plugin encountered a lot of difficulties, according to the tutorial said the first time to use the plug-in need to build their own files and folders, but according to the following study I learned that. Vim folder contains a lot of folders, each need to build themselves? Do I use the folder in the C-support folder provided in the tutorial to complete the installation of the plugin, is it correct?

Use of Vim

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.