aboutsummaryrefslogtreecommitdiff
path: root/.vim/after
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-27 10:24:34 +0800
committerGuangxiong Lin <[email protected]>2022-03-27 10:24:34 +0800
commit3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4 (patch)
tree62f8f10762791aef39268689ddfbf58b6039ad49 /.vim/after
parent624dd0e1708a4bc1a612c071e1cb625a45e97a91 (diff)
downloaddotfiles-3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4.tar.gz
dotfiles-3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4.tar.bz2
dotfiles-3cc6c3e489d39f6a9df48639e835fbca9f6c2fe4.zip
Refactor airline config (vim)
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/plugin/airline.vim3
-rw-r--r--.vim/after/plugin/tagbar.vim2
2 files changed, 2 insertions, 3 deletions
diff --git a/.vim/after/plugin/airline.vim b/.vim/after/plugin/airline.vim
index ce3eb77..b94896d 100644
--- a/.vim/after/plugin/airline.vim
+++ b/.vim/after/plugin/airline.vim
@@ -1,4 +1 @@
let g:airline#extensions#tabline#enabled = 1
-let g:airline#extensions#tagbar#enabled = 1
-let g:airline#extensions#gutentags#enabled = 1
-
diff --git a/.vim/after/plugin/tagbar.vim b/.vim/after/plugin/tagbar.vim
index 6ed56d8..213aae0 100644
--- a/.vim/after/plugin/tagbar.vim
+++ b/.vim/after/plugin/tagbar.vim
@@ -1,4 +1,6 @@
let g:tagbar_autoclose = 1
let g:tagbar_autofocus = 1
+let g:airline#extensions#tagbar#enabled = 1
+
nnoremap <Leader><space>s :TagbarToggle<CR>