10 excellent vim plugins to help you create the perfect IDE

Source: Internet
Author: User

Guide If you write a little bit of code, you'll know how convenient the integrated development environment (IDE) is. Whether it's Java, C, or Python, writing code can be a lot easier when the IDE helps you check syntax, background compilation, or automatically import the libraries you need. In addition, if you work on Linux, you will also know how easy it is to make text edits. 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 might think of trying to make vim into C-language Ides, such as C.vim, and Eclim that integrate Vim into eclipse. But what I want to tell you is a more generic, plug-in-only implementation of the scenario. You certainly don't want to make your editor bloated by installing too many panels and features. A plugin-only solution allows you to select only those features that you want to integrate into vim. One of the additional benefits of doing this is that the IDE is not specific to a particular language and allows you to write any type of code. Let's take a look at my top 10 plugins for bringing IDE features into VIM.

First , a benefit: pathogen

First, maybe not everyone is familiar with Vim's plug-ins and know how to install them. So, the first plugin I recommend is pathogen, because this plugin will make it easier for you to install other plugins. If you want to install another plugin that is not listed here, using pathogen will become very simple. It's the official page of the document written very well, to download and install a bar. The installation of the plug-in will then become much easier.

1. Supertab

The first reason we get used to the IDE is its auto-completion function. So, I like this very convenient, give the TAB key "Super ability" Supertab plugin.

2. Syntastic

If you need to program in more than one language, it is sometimes very easy to confuse the syntax between different languages. Fortunately, Syntastic will check for you and tell you if you should add parentheses or brackets, or tell you where you forgot a semicolon.

3. Auto Pairs

Another thing that makes programmers crazy is: Am I missing the last parenthesis?! Everyone hates to use their fingers to count the brackets that are very far apart. To deal with this problem, I use the Auto Pairs plugin, which automatically inserts and formats square brackets and parentheses.

4. NERD commenter

If you're looking for a shortcut to a comment code that supports a variety of programming languages, you can try NERD commenter. Even if you are not a programmer, I recommend this plugin very much, as it will make it very efficient for you to annotate your bash scripts or anything else.

5. Snipmate

Any programmer knows that good yards are written code, and the Code of Excellence is reused. Snipmate can easily insert code snippets into your files, greatly reducing the number of times you hit the keyboard. It contains a number of code snippets in a variety of languages by default, and you can easily add your own.

6. Nerdtree

When managing a large project, it's a good idea to spread the code across different files. is also a basic coding principle. Nerdtree is a nice file browser that can be used directly in Vim, which allows you to think of all the files at any time.

7. Minibufferexplorer

There is nothing more important than a good buffer manager to create a file browser that supports opening multiple files at the same time. Minibufferexplorer can do this work very beautifully and efficiently. It even sets a different color for your buffer and toggles shortcut keys.

8. Tag List

When you have multiple files open at the same time, it's easy to forget what you've added to these files. To prevent you from forgetting, tag List This code viewer will show the variables and functions in a nice, concise format.

9. Undotree

For those of us who like Undo,redo and then undo some changes and then view the entire editing process based on these, Undotree is a good plugin that can see your undo and redo history in the form of a tree. This function has nothing to do with the code, so this is a plugin I like very much.

Ten. Gdbmgr

Last but not least, everyone needs a debugger at some point. If you like GDB, then gbdmgr is prepared for you, because it integrates that famous debugger into Vim.

To summarize, whether you are a crazy coder or not, it is always convenient to have some additional vim functions in hand. As I said in the introduction, if you don't need to, you don't have to install all of these plugins here. Or if you want to install another line, these are just a basic entry-level plugin.

Originally from: http://www.linuxprobe.com/vimide-env.html

Free to provide the latest Linux technology tutorials Books, for open-source technology enthusiasts to do more and better: http://www.linuxprobe.com/

10 excellent vim plugins to help you create the perfect IDE

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.