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