Teach you to create vim as a mature IDE

Source: Internet
Author: User

If you write a little bit of code, you know how convenient the integrated development environment (IDE) is. Whether it's Java, C, or Python, it's much easier to write code when the IDE helps you check syntax, background compilation, or automatically import the libraries you need. Plus, if you're working on Linux, you know how handy vim is when it comes to text editing. So you might want to get these IDE features from VIM as well.

In fact, there are few ways to help you do that. Some people may think of trying to make vim into the C-language IDE, such as C.vim, and the Eclim that integrates vim into eclipse. But what I want to tell you is a more generic scenario that is implemented using only plug-ins. You certainly don't want to make your editor bloated by installing too many panels and features. A plug-in-only solution allows you to select only those features that you want to integrate into vim. The extra benefit of doing this is that the IDE is not specific to one language and allows you to write any type of code. Let's take a look at my first 10 plugins that bring IDE features into VIM.

First, a welfare: pathogen.

First, maybe not everyone is familiar with the Vim plug-in and know how to install the Plug-ins. So the first plugin I recommend is pathogen, because it makes it easier for you to install other plug-ins. If you want to install additional plugins that are not listed here, it will be very easy to use pathogen. It's the official page of the document written very well, to download the installation of a bar. Then the installation of Plug-ins will become much easier.

1. Supertab

The first reason we are accustomed to the IDE is its automatic complement function. So, I like this very handy, gave the TAB key "Super ability" Supertab plugin.

2. syntastic

If you need to use more than one language for programming, it is sometimes very easy to confuse the syntax between different languages. Luckily, Syntastic will check it out and tell you if you should add parentheses or brackets, or tell you somewhere that you forgot a semicolon.

3. Auto Pairs

Another thing that makes programmers crazy is: Do I have to add the last bracket?! Everyone hates using their fingers to count the brackets that are very far apart. To handle this problem, I use the auto pairs plugin, which inserts and formats the brackets and parentheses automatically.

4. NERD Commenter

If you are looking for a shortcut key that can support a variety of program language annotation codes, you can try NERD commenter. Even if you're not a programmer, I highly recommend this plugin because it makes it very efficient to annotate a bash script or anything else.

5. Snipmate

Any programmer knows that good code for code farming, and the excellent code God reuses code. Snipmate can easily insert code snippets into your file, greatly reducing the number of times you hit the keyboard. It defaults to a lot of code snippets from a variety of languages, and you can easily add your own.

6. Nerdtree

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.