aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
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 /plugins.vim
parent4ae213d2994c3a46f067bc9858d079d29d718369 (diff)
remove tagbar
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim27
1 files changed, 0 insertions, 27 deletions
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>