1、Volt
Volt should not be called a plug-in. It should be a Vim plug-in manager that can exist independently of Vim, similar to the Vundle plug-in, but Volt supports plug-in combination management, so you can define a variety of plug-in combinations through Volt, which is called here It is called "profile" plug-in combination. In this way, you can enable different profile
combinations of plugins for different programming language environments, which is very convenient.
The operation command is very simple, just run the following command in the terminal command line:
volt profile set myprofile
Among them myprofile
is the name of the plug-in combination you defined. If you want to know more about Volt, you can go here .
2、Vim-Rainbow
The vim-rainbow plugin can use different colors to distinguish the brackets (small brackets, square brackets, and curly brackets) in the programming language, which is clear and clear, allowing you to clearly understand that those brackets are a pair. This is very useful, and you don't have to worry about which one is a pair of brackets anymore.
3、lightline
There are many plugins for Vim, such as Powerline , which will display information such as the file you are working on, the position of the cursor in the file, and the file type in the bottom bar. These plugins have their pros and cons, after a simple comparison, I chose lightline . It's relatively small, easy to install and extend, and doesn't depend on other tools or plugins.
4、NERDTree
NERDTree is a file browser plugin in Vim. With this plugin, users can intuitively browse complex directory hierarchies, quickly open files for reading or editing, and perform basic file system operations.
5、NERD Commenter
NERD Commenter is a very useful plug-in for programmers. It supports multi-language completion, and also supports single-line comments, batch comments, and other command mappings. Use the cc shortcut key to comment the selected line, and cu to uncomment.
Among them is the keymap, the default is the backslash /
, you can use the command to customize the Vim Leader key character, for example the command :let mapleader=","
will be defined as ,
the key.
6、Solarized
Solarized is a Vim theme plugin, it has two mode functions of light and dark mode. Depending on your preferences and ambient lighting, you can switch between the two modes quickly and easily.
7、fzf
fzf.vim is a plug-in that depends on the fzf command. fzf is an Go
interactive command-line search tool based on the implementation, which can search for files, historical commands, git commits, etc. Very powerful. You can use fzf's vim plugin after installing fzf .
Installation of fzf command fzf.vim plugin installation
8、ack
Ack.vim is mainly used to search for a word globally in the project, such as when searching for a function name. To use vim's ack.vim plug-in, you need to install ack or ag before it can run normally. It is recommended to ag
use it in combination with ack.vim. The combination of the two is also called " silver searcher ". This combination is very fast and covers most of the usage scenarios of grep
or vimgrep
.
For more detailed installation and use of Ack.vim, you can check here .
9、get good
The gitgutter plugin is a git status display plugin, which can add a column before the Vim line number to display the status of the line: changed ( ) ~
, added ( +
) or deleted ( -
). This is good for keeping track of the changes you've made, and allows you to focus on the task at hand, such as writing a patch to fix a critical bug.
10、Tag List
The Tag List plugin is a tag list plugin that can realize code structure navigation display, such as variables, types, classes and functions, and you can easily jump between these variables, types, classes and functions. This plugin is suitable for commonly used programming languages, such as Java, Ptyhon, c and any file type that can use ctags function.
My .vimrc configuration reference blog link
Easy-to-use vim plug-ins and sharing --- easy to use_Yimning's Blog-CSDN Blog