This repository has been archived on 2024-06-08. You can view files and clone it, but cannot push or open issues or pull requests.
vimrc/plug.md
2020-02-23 22:09:42 +08:00

35 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 简介
主要用来讲述`vimrc`中相关插件的用途等。
#### 插件管理工具
1. `vim-plug`工具
之前使用的`vundle`下载速度比较慢,换成比较快的`vim-plug`
#### 配置文件用途详解
* [~/.vim/vimrc](http://www.zeekling.cn/gogs/zeek/vim_config/src/master/vim/vimrc) 用来配置vim主要需要使用的插件
* [~/.vim/conf/](http://www.zeekling.cn/gogs/zeek/vim_config/src/master/vim/conf) 用来放置vim对应类型插件的配置类
型,比如`python.vim`表示`python`需要插件对应的配置文件
#### 主要插件和功能
* [Valloric/YouCompleteMe](https://github.com/Valloric/YouCompleteMe) 代码自动用来补全,补全功能虽然比不过一些ide但是
用来平时一些练习还是可以的
* [tpope/vim-fugitive](https://github.com/tpope/vim-fugitive) 集成Git相关
* [ascenator/L9](https://github.com/ascenator/L9) vimscript相关库
* [scrooloose/nerdtree](https://github.com/scrooloose/nerdtree) 显示树形目录结构
* [Xuyuanp/nerdtree-git-plugin](https://github.com/Xuyuanp/nerdtree-git-plugin) 树形目录结构显示git项目中文件状态
* [majutsushi/tagbar](https://github.com/majutsushi/tagbar) 显示类、方法、变量
* [vim-airline/vim-airline](https://github.com/vim-airline/vim-airline) 状态栏美化
* [vim-airline/vim-airline-themes](https://github.com/vim-airline/vim-airline-themes) 状态栏主题
* [bling/vim-bufferline](https://github.com/bling/vim-bufferline) 状态栏显示buffer
* [scrooloose/syntastic](https://github.com/scrooloose/syntastic) and [w0rp/ale](https://github.com/w0rp/ale) 语法检查后
者支持vim8更好一点
* [godlygeek/tabular](https://github.com/godlygeek/tabular) 代码、注释、表格对齐
* [jiangmiao/auto-pairs](https://github.com/jiangmiao/auto-pairs) 补全括号等
* [roxma/vim-paste-easy](https://github.com/roxma/vim-paste-easy) paste插件
* [DoxygenToolkit.vim](https://github.com/DoxygenToolkit.vim) 自动注释
* [artur-shaik/vim-javacomplete2](https://github.com/artur-shaik/vim-javacomplete2) java代码补全,结合YouCompleteMe可以使用
* [scrooloose/nerdtree](https://github.com/scrooloose/nerdtree) vim里面文件显示
* [c.vim](https://github.com/c.vim) C语言自动补全,结合YouCompleteMe可以使用
<span style="color:red;">未完待续</span>