In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what are the easy-to-use Vim plug-ins". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the good Vim plug-ins"?
1. Volt
Volt is a plug-in manager that you can use to install plug-ins and create a combination of plug-ins called "configuration files". Volt is still relatively new, so it's not perfect (for example, each plug-in can only have one configuration file), but beyond that, I find it very convenient, very fast, and very simple.
2. Vim-Rainbow
Almost all major programming languages need to use square brackets, parentheses, curly braces, etc., usually, we use multiple pairs of parentheses, it can be difficult and annoying to figure out which right parenthesis belongs to which left bracket. The vim-rainbow plug-in adds a unique color to each pair of parentheses so that you can easily identify them, and it is not only useful, but also makes your code rich and colorful.
3. Lightline
There are many plug-ins for Vim, such as Powerline, which puts a bar at the bottom of the screen to tell you what file you are dealing with, where you are in the file, what type of file it is, and so on. Each plug-in has its advantages and disadvantages. Under the tradeoff, I finally chose lightline. It is relatively small and easy to set up, and if you are interested in this kind of thing, it is quite extensible and does not require any other tools or plug-ins.
4. NERDTree
The plug-in displays a directory tree that can execute file operation commands. In large projects, it is difficult to find the exact name and location of the line you want to edit. Through the shortcut keys, an explorer window will open in the form of a directory tree. You can easily find the file you want and open it. If you have a lot of code or people who are easy to forget the file name, NERDTree is a must.
5. NERD Commenter
Sometimes, all programmers write code that is difficult to debug, causing them to decide to comment out or uncomment the code. NERD Commenter is useful. Select the code, click Leader+cc, and your code will be commented out; click Leader+cn and your code will be uncommented. For most file types, NERD Commenter can use the correct comment characters
6. Solarized
I've been using Vim's Solarized color plug-in for a long time, and Solarized is the most complete Terminal/Editor/IDE color project so far.
I switch between daytime mode and dark mode from time to time, depending on my environment, screen brightness, and whether I need to put something on my screen for others to read.
With Solarized, you can choose any color scheme you like, in addition, I also like the Monokai,Volt plug-in manager so that I can easily switch between the two, so I can use Monokai for Python programming, using to write Bash with Sola.
7. Fzf
Fzf is currently the fastest fuzzy finder (fuzzy search artifact), I often use this, it has been used more than NERDTree, it is suitable for Fedora, Debian and Arch, but it has a small disadvantage is that there is an external dependency in the fzf binary, so you have to install it with it.
8. Ack
When I need to search for files that contain a line or word, I love the ack plugin, and you'd better use it with ag, a global search tool called "The Silver Searcher". This combination is very fast and covers most of the things I can do with grep or vimgrep. The disadvantage is that you need to install ack or ag to work properly, and the advantage is that both ag and ack can be used for Fedora and EPEL7.
9. Gitgutter
Most IT people have worked with files in Git and Git repositories. The plug-in supports embedding the number of added / deleted / modified rows in the status line. The corresponding symbols are as follows: change (~), add (+), and delete (-) lines. This is useful for tracking your changes and allows you to focus on the task at hand, but the plug-in has a small performance flaw. Sometimes it's a little slow, but it's still useful.
10. Tag List
If you are programming in a file, it is easy to forget your location, you may need to manually scroll up and down to find a function, with the Tag List plug-in, you only need to type: Tlist, you can get a vertical split, which contains variables, types, classes and functions that can be easily jumped to. It applies to many languages, such as Java, Python, and any other file type that ctags tools can handle.
Thank you for your reading, these are the contents of "what are the easy-to-use Vim plug-ins"? after the study of this article, I believe you have a deeper understanding of what the easy-to-use Vim plug-ins have, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.