Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to find the vim plug-in

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Vim is a powerful text editor, not only because it allows us to completely abandon the use of the keyboard, but also has a strong extensibility, can add any variety of plug-ins. As long as you think of it, you can basically find the corresponding plug-in on the Internet.

Use search engines

For example, if I type vim php on Baidu, he will automatically pop up a few keywords.

A trick to use search engines is to enter keywords and separate multiple keywords with spaces. This makes it easier for search engines to find what they want.

At this point, I found that php code completion does not need to install the plug-in, just add the following line to the configuration file

Autocmd FileType php set omnifunc=phpcomplete#CompletePHP

Now, we only need to press ctrl+x,ctrl+o to complete the automatic completion of the php code

Search in github

Because most vim plug-ins are hosted on github, we can search directly in github. It has an advantage over search engines, which can filter some spam.

For example, I want to search for directory-related plug-ins, because the vim editor does not have directory management by default, which is not very convenient for developing large references.

Ask the elder for advice

When you want to install the vim plug-in, you can consult your colleagues or seniors or the group to ask them if they have a good recommended plug-in.

Vimawesome.com

This is an amazing website, and almost all the plug-ins you want can be found here.

This site has divided plug-ins into several categories, namely programming language, completion, interface, integration-related, commands, and others.

In addition, the right side of the website interface is arranged by the number of stars by default. In general, the first 5 pages of daily plug-ins can be found.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report