From 2b9a3992d8c0dfa1ef1fb419bc4f57bf281f51ad Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 21 Oct 2020 23:34:31 +0800 Subject: [PATCH] remove tagbar --- README.md | 2 +- plugins.vim | 27 --------------------------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/README.md b/README.md index 83232c3..1a45dee 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ itself and the configuration on different platforms (Linux, macOS and Windows). + Asynchronous code execution via [asynrun.vim](https://github.com/skywind3000/asyncrun.vim) + Fuzzy searching in current project quickly via [LeaderF](https://github.com/Yggdroot/LeaderF). + Color theme via [vim-gruvbox8](https://github.com/lifepillar/vim-gruvbox8). -+ Tags navigation via [tagbar](https://github.com/majutsushi/tagbar) or [vista](https://github.com/liuchengxu/vista.vim). ++ Tags navigation via [vista](https://github.com/liuchengxu/vista.vim). + Ultra fast snippet insertion via [Ultisnips](https://github.com/SirVer/ultisnips). + Faster matching pair insertion and jump via [auto-pairs](https://github.com/jiangmiao/auto-pairs). + Smarter and faster matching pair management (add, replace or delete) via [vim-sandwich](https://github.com/machakann/vim-sandwich). diff --git a/plugins.vim b/plugins.vim index 0def794..cd07c31 100644 --- a/plugins.vim +++ b/plugins.vim @@ -133,7 +133,6 @@ if executable('ctags') " plugin to manage your tags Plug 'ludovicchabant/vim-gutentags' " show file tags in vim window - Plug 'majutsushi/tagbar', { 'on': ['TagbarToggle', 'TagbarOpen'] } Plug 'liuchengxu/vista.vim' endif "}} @@ -491,32 +490,6 @@ endif "}} "{{ Navigation and tags -""""""""""""""""""""""""""" tagbar settings """""""""""""""""""""""""""""""""" -" Shortcut to toggle tagbar window -" nnoremap t :TagbarToggle - -" Add support for markdown files in tagbar. -if g:is_win - let g:md_ctags_bin=fnamemodify(g:nvim_config_root."\\tools\\markdown2ctags.exe", ':p') -else - let g:md_ctags_bin=fnamemodify(g:nvim_config_root.'/tools/markdown2ctags.py', ':p') -endif - -let g:tagbar_type_markdown = { - \ 'ctagstype': 'markdown', - \ 'ctagsbin' : g:md_ctags_bin, - \ 'ctagsargs' : '-f - --sort=yes', - \ 'kinds' : [ - \ 's:sections', - \ 'i:images' - \ ], - \ 'sro' : '|', - \ 'kind2scope' : { - \ 's' : 'section', - \ }, - \ 'sort': 0, - \ } - """"""""""""""""""""""""""" vista settings """""""""""""""""""""""""""""""""" " Double click to go to a tag nnoremap <2-LeftMouse> :call vista#cursor#FoldOrJump()