Vim change ide

Source: Internet
Author: User

If you have written a little bit of code, you will be able to know how convenient the integrated development environment (IDE) is. Whether it is Java, C, or Python, it is much easier to write code when ide will help you check the syntax, compile in the background, or automatically import the library you need. In addition, if you work on Linux, you will also know how convenient Vim is in text editing. Therefore, you may want to obtain these IDE features from vim.

In fact, there are few ways to help you. Some may think of how to create Vim into C language IDE, such as C. Vim, and eclim integrating Vim into eclipse. But what I want to tell you is a more general solution that is only implemented by plug-ins. You certainly don't want to make your editor bloated with too many panels and features installed. Only implementing plug-ins allows you to select only the features you want to integrate into vim. An additional benefit of doing so is that this IDE is not specific to a specific language and allows you to write any type of code. Let's take a look at myBring the IDE features into the first 10 plug-ins of VIMRight.

Here is a benefit: Pathogen

First, not everyone may be familiar with vim plug-ins and know how to install these plug-ins. Therefore, the first plug-in I recommend is pathogen, because this plug-in will make it easier for you to install other plug-ins. If you want to install another plug-in that is not listed here, it will become very simple to use pathogen. The documentation on its official page is very well written. Download and install one. The installation of plug-ins will become much easier.

 

1. supertab

 

The first reason we get used to IDE is its auto-completion function. Therefore, I like this super tab plug-in, which is very convenient.

 

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 help you check and tell you whether parentheses or square brackets should be added or if you forget a semicolon somewhere.

3. Auto Pairs

Another thing that makes programmers crazy is: Do I have to add the last parenthesis ?! Everyone hates to use their fingers to count the parentheses that are very distant. To solve this problem, I use the auto pairs plug-in, which will automatically insert and format square brackets and parentheses.

4. Nerd commenter

If you are looking for a shortcut key that supports code annotation in multiple programming languages, you can try nerd commenter. Even if you are not a programmer, I highly recommend this plug-in because it will make you very efficient when commenting on Bash scripts or anything else.

5. snipmate

As any programmer knows, good coders write code, and outstanding coders reuse code. Snipmate can easily insert code snippets into your files, greatly reducing the number of times you press the keyboard. By default, it contains code snippets in various languages, and you can easily add your own.

6. nerdtree

 

It is a good idea to distribute code to different files when managing a large project. It is also a basic encoding principle. Nerdtree is a good file browser that can be used directly in Vim. It allows you to think of all files at any time.

7. minibufferexplorer

 

To create a file browser and support opening multiple files at the same time, nothing is more important than a good buffer manager. Minibufferexplorer can complete this job very beautifully and efficiently. It even sets different colors and shortcut keys for your buffer.

8. Tag list

 

When you open multiple files at the same time, it is easy to forget what you have added to these files. To prevent you from forgetting, the tag list Code viewer will display the variables and functions in a beautiful and concise format.

9. undotree

 

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

10. gdbmgr

Last, but not least. Everyone needs a debugger at some point in time. If you like GDB, gbdmgr is prepared for you because it integrates the famous debugger into vim.

To sum up, whether you are a crazy coder or not, it is always very convenient to have some additional Vim functions. As I mentioned in the introduction, if you do not need these plug-ins, you do not need to install them. Or you want to install another plug-in, which is actually a basic entry-level plug-in.

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.