tagbar, nerdtree autoclose set

This commit is contained in:
ManjaroOne666 2017-09-18 23:16:32 +01:00
parent 2af28d877a
commit 31521f1be5
1 changed files with 3 additions and 0 deletions

3
vimrc
View File

@ -242,6 +242,7 @@ set expandtab " tab inserts 'softtabstop' number of spaces
set softtabstop=2 "
set shiftwidth=2 " affects what happens with >>,<<,== and automatic indentation
set mouse=a
filetype plugin indent on " file type based indentation
" rewrapping set to 80
@ -373,9 +374,11 @@ nnoremap <F3> :NERDTreeFocus<CR>
nnoremap <leader>nt :NERDTreeFocus<CR>
" allow closing if only window open is a NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
let NERDTreeQuitOnOpen = 1
" TagBar
nnoremap <leader>tb :TagbarOpen fj<CR>
let g:tagbar_autoclose = 1
" tagbar css/scss thingy