From 0ba384ed3b50df54cce704bcee24aee6c0642c1c Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 30 Apr 2017 20:51:33 +0200 Subject: Setup vim tagbar behavior --- vim/.vimrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index cbdabd0..bd71e99 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -53,6 +53,7 @@ map fc :foldclose map fo :foldopen map t :Tab/\| map c zz +map d nmap :e# nmap f za @@ -123,7 +124,7 @@ nnoremap :NERDTreeToggle nnoremap :MundoToggle nnoremap :GitGutterToggle nnoremap :set cursorline! -nnoremap :TagbarToggle zz +nnoremap :TagbarToggle nnoremap :Goyo " ctrlp file opener @@ -136,8 +137,10 @@ let g:ctrlp_custom_ignore = { \ } " tagbar -let g:tagbar_autofocus = 1 -let g:tagbar_compact = 1 +let g:tagbar_autoclose = 1 +let g:tagbar_autopreview = 1 +let g:tagbar_compact = 1 +let g:tagbar_width = 70 " pandoc let g:pandoc#modules#disabled = ["folding","spell","chdir"] -- cgit v1.2.3