From 917b1e99fb72a95dce89f45e25cc1d1333610e59 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 9 May 2022 08:00:20 +0800 Subject: Use tagbar again (vim) --- .vim/after/plugin/minpac.vim | 1 + .vim/after/plugin/tagbar.vim | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .vim/after/plugin/tagbar.vim (limited to '.vim/after') diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim index ed9ce0a..2033a82 100644 --- a/.vim/after/plugin/minpac.vim +++ b/.vim/after/plugin/minpac.vim @@ -22,6 +22,7 @@ function! InitMinpac() abort call minpac#add('https://github.com/prabirshrestha/vim-lsp') call minpac#add('https://github.com/ctrlpvim/ctrlp.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/FelikZ/ctrlp-py-matcher.git', {'type': 'opt'}) + call minpac#add('https://github.com/preservim/tagbar.git') call minpac#add('https://github.com/ludovicchabant/vim-gutentags.git') call minpac#add('https://github.com/easymotion/vim-easymotion.git') diff --git a/.vim/after/plugin/tagbar.vim b/.vim/after/plugin/tagbar.vim new file mode 100644 index 0000000..691e781 --- /dev/null +++ b/.vim/after/plugin/tagbar.vim @@ -0,0 +1,6 @@ +let g:tagbar_autoclose = 1 +let g:tagbar_autofocus = 1 + +let g:airline#extensions#tagbar#enabled = 0 + +nnoremap s :TagbarToggle -- cgit v1.2.3