mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
remove tagbar
This commit is contained in:
parent
4ae213d299
commit
2b9a3992d8
@ -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).
|
||||
|
||||
27
plugins.vim
27
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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user