aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-21 23:34:31 +0800
committerjdhao <jdhao@hotmail.com>2020-10-21 23:35:16 +0800
commit2b9a3992d8c0dfa1ef1fb419bc4f57bf281f51ad (patch)
tree6dd76859cae3747e09a100cff721b09ac206becc
parent4ae213d2994c3a46f067bc9858d079d29d718369 (diff)
remove tagbar
-rw-r--r--README.md2
-rw-r--r--plugins.vim27
2 files changed, 1 insertions, 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 <silent> <Space>t :<C-U>TagbarToggle<CR>
-
-" 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 <silent> <2-LeftMouse> :<C-U>call vista#cursor#FoldOrJump()<CR>