How to Make Vim a mature IDE
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 my introduction to the top 10 plug-ins of Vim with IDE features.
Build VIM into a simple and practical IDE
Vim Learning Guide
Quick learn Vi Editor
Powerful Vim Editor
Build a Vim Development Environment on CentOS 6.2
Install the highlighted Vim editing tool in CentOS 5.4
Vim tips: C language settings
Set the Vim row number in Ubuntu
Vim editor basic tutorial
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.
For more details, please continue to read the highlights on the next page: