diff --git a/.vimrc b/.vimrc index 3fe99f0..a18feb7 100644 --- a/.vimrc +++ b/.vimrc @@ -90,10 +90,9 @@ set fileencodings=utf8,ucs-bom,gbk,cp936,gb2312,gb18030 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" call plug#begin('~/.vim/plugged') -Plug 'vim-scripts/L9' Plug 'chxuan/cppfun' Plug 'chxuan/change-colorscheme' -Plug 'Yggdroot/indentLine' +Plug 'vim-scripts/L9' Plug 'Yggdroot/LeaderF' Plug 'mileszs/ack.vim' Plug 'easymotion/vim-easymotion' @@ -104,11 +103,9 @@ Plug 'jiangmiao/auto-pairs' Plug 'scrooloose/nerdtree' Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'Xuyuanp/nerdtree-git-plugin' -Plug 'rstacruz/sparkup', {'rtp': 'vim/'} Plug 'rkulla/pydiction' Plug 'Valloric/MatchTagAlways' Plug 'Valloric/YouCompleteMe' -Plug 'docunext/closetag.vim' Plug 'godlygeek/tabular' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-surround' @@ -120,11 +117,8 @@ Plug 'octol/vim-cpp-enhanced-highlight' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'vim-scripts/a.vim' -Plug 'vim-scripts/DoxygenToolkit.vim' Plug 'vim-scripts/txt.vim' Plug 'ryanoasis/vim-devicons' -Plug 'gorodinskiy/vim-coloresque' -Plug 'will133/vim-dirdiff' Plug 'mhinz/vim-startify' Plug 'junegunn/vim-slash' Plug 'junegunn/gv.vim' @@ -201,16 +195,6 @@ let g:NERDTreeHighlightFoldersFullName = 1 let g:NERDTreeDirArrowExpandable='▷' let g:NERDTreeDirArrowCollapsible='▼' -" Doxygen -let g:DoxygenToolkit_authorName="chxuan, 787280310@qq.com" -let s:licenseTag = "Copyright(C)\" -let s:licenseTag = s:licenseTag . "For free\" -let s:licenseTag = s:licenseTag . "All right reserved\" -let g:DoxygenToolkit_licenseTag = s:licenseTag -let g:DoxygenToolkit_briefTag_funcName="yes" -let g:doxygen_enhanced_color=1 -let g:DoxygenToolkit_commentType="Qt" - " YCM let g:ycm_confirm_extra_conf = 0 let g:ycm_error_symbol = '>>' @@ -279,10 +263,6 @@ let g:EasyMotion_smartcase = 1 map w (easymotion-bd-w) nmap w (easymotion-overwin-w) -" indentLine -let g:indentLine_enabled=0 -nnoremap il :IndentLinesToggle - " pydiction let g:pydiction_location='~/.vim/plugged/pydiction/complete-dict' let g:pydiction_menu_height=10 diff --git a/README.md b/README.md index 20609fb..ccffafb 100644 --- a/README.md +++ b/README.md @@ -72,41 +72,35 @@ An automatic configuration program for vim | 插件 | 说明 | | ------- | ----- | -| [vim-plug][4] | 比[Vundle][54]下载更快的插件管理软件 | -| [YouCompleteMe][5] | 史上最强大的基于语义的自动补全插件,支持C/C++、C#、Python、PHP等语言 | | [cppfun][58] | 生成函数实现 | | [change-colorscheme][27] | 随心所欲切换主题 | +| [vim-plug][4] | 比[Vundle][54]下载更快的插件管理软件 | +| [YouCompleteMe][5] | 史上最强大的基于语义的自动补全插件,支持C/C++、C#、Python、PHP等语言 | | [NerdTree][6] | 代码资源管理器 | +| [vim-nerdtree-syntax-highlight][52] | NerdTree文件类型高亮 | +| [nerdtree-git-plugin][53] | NerdTree显示git状态 | +| [vim-devicons][15] | 显示文件类型图标 | | [Airline][8] | 可以取代[powerline][9]的状态栏美化插件 | | [auto-pairs][10] | 自动补全引号、圆括号、花括号等 | -| [DoxygenToolkit][11] | Doxygen风格的注释插件 | | [LeaderF][56] | 比[ctrlp][12]更强大的文件的模糊搜索工具 | | [ack][62] | 强大的文本搜索工具 | | [tagbar][13] | [taglist][14]的替代品,显示类/方法/变量 | -| [vim-devicons][15] | 显示文件类型图标 | | [vim-surround][16] | 自动增加、替换配对符的插件 | | [vim-commentary][17] | 快速注释代码插件 | | [vim-repeat][18] | 重复上一次操作 | | [vim-endwise][19] | if/end/endif/endfunction补全 | | [tabular][20] | 代码、注释、表格对齐 | -| [vim-dirdiff][21] | 目录比较 | -| [vim-coloresque][22] | 根据文本颜色值显示对于的颜色 | | [vim-easymotion][23] | 强大的光标快速移动工具,强大到颠覆你的插件观 | | [incsearch.vim][24] | 模糊字符搜索插件 | | [vim-startify][25] | 启动页 | | [markdown-preview][26] | markdown实时预览 | -| [L9][28] | Vim-script库 | -| [indentLine][29] | 代码缩进对齐线 | -| [sparkup][31] | HTML标签补全 | +| [L9][28] | Vim-script函数库 | | [pydiction][32] | 基于字典的python语法补全 | | [MatchTagAlways][33] | 高亮配对符 | -| [closetag][34] | HTML标签自动闭合 | | [a.vim][35] | .h .cpp文件快速切换 | | [vim-fugitive][36] | 集成Git | | [gv][64] | git提交浏览器 | | [vim-slash][50] | 优化搜索,移动光标后清除高亮 | -| [vim-nerdtree-syntax-highlight][52] | NerdTree文件类型高亮 | -| [nerdtree-git-plugin][53] | NerdTree显示git状态 | | [echodoc][57] | 补全函数时在命令栏显示函数签名 | | [vim-multiple-cursors][63] | 多光标编辑 | | [vim-smooth-scroll][60] | 让翻页更顺畅 | @@ -144,7 +138,6 @@ An automatic configuration program for vim | `l` | 按竖线对齐 | | `=` | 按等号对齐 | | `gcc` | 注释代码 | -| `:DirDiff ` | 目录比较 | | `vif` | 选中函数内容 | | `dif` | 删除函数内容 | | `cif` | 改写函数内容 | @@ -201,6 +194,10 @@ Q & A ![][41] +- vim-multiple-cursors + + ![][65] + - vim-airline ![][42] @@ -243,7 +240,6 @@ Q & A [8]: https://github.com/vim-airline/vim-airline [9]: https://github.com/powerline/powerline [10]: https://github.com/jiangmiao/auto-pairs - [11]: https://github.com/vim-scripts/DoxygenToolkit.vim [12]: https://github.com/ctrlpvim/ctrlp.vim [13]: https://github.com/majutsushi/tagbar [14]: https://github.com/vim-scripts/taglist.vim @@ -253,19 +249,14 @@ Q & A [18]: https://github.com/tpope/vim-repeat [19]: https://github.com/tpope/vim-endwise [20]: https://github.com/godlygeek/tabular - [21]: https://github.com/will133/vim-dirdiff - [22]: https://github.com/gko/vim-coloresque [23]: https://github.com/easymotion/vim-easymotion [24]: https://github.com/haya14busa/incsearch.vim [25]: https://github.com/mhinz/vim-startify [26]: https://github.com/iamcco/markdown-preview.vim [27]: https://github.com/chxuan/change-colorscheme [28]: https://github.com/vim-scripts/L9 - [29]: https://github.com/Yggdroot/indentLine - [31]: https://github.com/rstacruz/sparkup [32]: https://github.com/rkulla/pydiction [33]: https://github.com/Valloric/MatchTagAlways - [34]: https://github.com/docunext/closetag.vim [35]: https://github.com/vim-scripts/a.vim [36]: https://github.com/tpope/vim-fugitive [37]: https://pan.baidu.com/s/1i481Eeh @@ -295,3 +286,4 @@ Q & A [62]: https://github.com/mileszs/ack.vim [63]: https://github.com/terryma/vim-multiple-cursors [64]: https://github.com/junegunn/gv.vim + [65]: https://raw.githubusercontent.com/terryma/vim-multiple-cursors/master/assets/example1.gif diff --git a/help.md b/help.md index a7388e5..0a8fb6e 100644 --- a/help.md +++ b/help.md @@ -27,7 +27,6 @@ | `l` | 按竖线对齐 | | `=` | 按等号对齐 | | `gcc` | 注释代码 | -| `:DirDiff ` | 目录比较 | | `vif` | 选中函数内容 | | `dif` | 删除函数内容 | | `cif` | 改写函数内容 |