当前位置: 首页 > 工具软件 > asyncrun-vim > 使用案例 >

vim常用、实用插件

姚昊焱
2023-12-01

1.(插件管理器)Pathogen

地址:https://github.com/tpope/vim-pathogen

简单描述:pathogen让每个插件占有一个单独的目录,解决了文件分散的问题。安装完pathogen之后,只需要在~/.vim/目录下新建一个目录~/.vim/bundle/,并将要安装的所有插件放在~/.vim/bundle/目录下即可以使用。如果要删除某个插件,只需要将~/.vim/bundle/目录下对应的插件目录删除即可。如果想保持某个插件为最新版本,直接从插件的仓库checkout一份代码到bundle目录即可。

2.快速编辑html插件 emmet

地址:https://github.com/mattn/emmet-vim

3.快速注释插件 nerdcommenter

地址:https://github.com/preservim/nerdcommenter

4.变成风格配置插件 editconfig

地址:https://github.com/editorconfig/editorconfig-vim

描述:EditorConfig可以帮助开发者在不同的编辑器和IDE之间定义和维护一致的代码风格。EditorConfig包含一个用于定义代码格式的文件和一批编辑器插件,这些插件可以让编辑器读取配置文件并依此格式化代码。

5.代码自动提示 autocomplpop

地址:https://github.com/vim-scripts/AutoComplPop

6.目录树插件 nerdtree

地址:https://github.com/preservim/nerdtree 

7.syncrun

地址:https://github.com/skywind3000/asyncrun.vim

描述:运行外部命令,并将结果输出到Quickfix(:copen 打开的窗口)中

8.taglist

地址:https://github.com/yegappan/taglist

9.自动高亮成对html标签插件 MatchTagAlways

地址:https://github.com/Valloric/MatchTagAlways

描述:需要python3的支持

10.垂直、缩进对齐线

vim-indent-guides

地址:https://github.com/nathanaelkane/vim-indent-guides

indentLine(这个更美观)

地址:https://github.com/Yggdroot/indentLine

11.vim-markdown

地址:https://github.com/plasticboy/vim-markdown

12.vue组件的语法主题色

地址:https://github.com/posva/vim-vue

13.好用的vim主题

地址:https://github.com/tpope/vim-vividchalk

 14.改善内联js的缩进

地址:https://github.com/lukaszb/vim-web-indent.git

 类似资料: