diff options
-rw-r--r-- | .vim/after/plugin/airline.vim | 3 | ||||
-rw-r--r-- | .vim/after/plugin/input-method.vim (renamed from .vim/after/plugin/misc.vim) | 2 | ||||
-rw-r--r-- | .vim/after/plugin/tagbar.vim | 4 | ||||
-rwxr-xr-x | bin/vim-pack | 1 |
4 files changed, 8 insertions, 2 deletions
diff --git a/.vim/after/plugin/airline.vim b/.vim/after/plugin/airline.vim new file mode 100644 index 0000000..6de5f3f --- /dev/null +++ b/.vim/after/plugin/airline.vim @@ -0,0 +1,3 @@ +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tagbar#enabled = 1 + diff --git a/.vim/after/plugin/misc.vim b/.vim/after/plugin/input-method.vim index f34ec9f..8497659 100644 --- a/.vim/after/plugin/misc.vim +++ b/.vim/after/plugin/input-method.vim @@ -1,5 +1,3 @@ -let g:airline#extensions#tabline#enabled = 1 - " fcitx.vim if !empty(glob('/usr/bin/fcitx5')) packadd fcitx.vim diff --git a/.vim/after/plugin/tagbar.vim b/.vim/after/plugin/tagbar.vim new file mode 100644 index 0000000..6ed56d8 --- /dev/null +++ b/.vim/after/plugin/tagbar.vim @@ -0,0 +1,4 @@ +let g:tagbar_autoclose = 1 +let g:tagbar_autofocus = 1 + +nnoremap <Leader><space>s :TagbarToggle<CR> diff --git a/bin/vim-pack b/bin/vim-pack index 00426ee..9eda443 100755 --- a/bin/vim-pack +++ b/bin/vim-pack @@ -112,6 +112,7 @@ update_package org.vim https://github.com/axvr/org.vim.git & update_package fcitx.vim https://github.com/lilydjwg/fcitx.vim.git opt & update_package smartim https://github.com/ybian/smartim.git opt & update_package vim-table-mode https://github.com/dhruvasagar/vim-table-mode.git & +update_package tagbar https://github.com/preservim/tagbar & wait vim '"+helptags ALL"' +q |