diff --git a/.vimrc b/.vimrc index d0d6a4e..52199fa 100644 --- a/.vimrc +++ b/.vimrc @@ -12,6 +12,8 @@ Plugin 'VundleVim/Vundle.vim' Plugin 'sheerun/vim-polyglot' Plugin 'scheakur/vim-scheakur' Plugin 'preservim/nerdtree' +Plugin 'preservim/tagbar' +Plugin 'airblade/vim-gitgutter' call vundle#end() filetype plugin indent on @@ -52,6 +54,19 @@ let NERDTreeWinSize = 31 " Set panel width to 31 columns nmap :NERDTreeToggle +"""""""""""""""""""""""""""""""""""""" +" Tagbar +"""""""""""""""""""""""""""""""""""""" + +" Focus the panel when opening it +let g:tagbar_autofocus = 1 +" Highlight the active tag +let g:tagbar_autoshowtag = 1 +" Make panel vertical and place on the right +let g:tagbar_position = 'botright vertical' +" Mapping to open and close the panel +nmap :TagbarToggle + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Text, tab and indent related """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -85,3 +100,10 @@ set termwinsize=12x0 " Set terminal size set splitbelow " Always split below set ttymouse=xterm2 set mouse=a " Enable mouse drag on window splits + +"""""""""""""""""""""""""""""""""""""" +" GitGutter +"""""""""""""""""""""""""""""""""""""" + +set updatetime=100 +set signcolumn=auto