aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/minpac.vim1
-rw-r--r--.vim/after/plugin/tagbar.vim6
2 files changed, 7 insertions, 0 deletions
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 <leader><leader>s :TagbarToggle<CR>