This repository has been archived on 2021-12-21. You can view files and clone it, but cannot push or open issues/pull-requests.
neovim-config/init/tagbar.vim

22 lines
650 B
VimL
Raw Normal View History

2020-08-08 20:27:01 +02:00
" Navigating between tags
2020-08-09 07:49:51 +02:00
" Go to next top-level tag
let g:tagbar_map_nexttag = 'J'
" Same, but previous
let g:tagbar_map_prevtag = 'K'
2020-08-08 20:27:01 +02:00
" Show prototype of current tag
let g:tagbar_map_showproto = 'u'
2020-08-09 07:49:51 +02:00
" Use order from source file
let g:tagbar_sort = 0
" Don't show help tip at the top
let g:tagbar_compact = 1
" Auto-open folds while following cursor
let g:tagbar_autoshowtag = 1
" Don't show status line
let g:no_status_line = 1
2020-08-08 20:27:01 +02:00
" Open tagbar when opening certain language types
2020-10-23 09:45:55 +02:00
autocmd BufNewFile,BufReadPre *.py,*.java,*.rs,*.cpp,*.c,*.r TagbarOpen
2020-08-08 20:27:01 +02:00
" Explicitly close tagbar for these types
2020-10-23 09:45:55 +02:00
autocmd BufNewFile,BufReadPre *.txt,*.rst TagbarClose