updated vimrc
This commit is contained in:
parent
70480cda95
commit
6432ed0dc3
@ -24,3 +24,13 @@ if has("autocmd")
|
|||||||
\ endif
|
\ endif
|
||||||
au VimLeave * silent execute '!echo -ne "\e[ q"' | redraw!
|
au VimLeave * silent execute '!echo -ne "\e[ q"' | redraw!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" NERDTree
|
||||||
|
let g:NERDTreeShowHidden = 1
|
||||||
|
let g:NERDTreeMinimalUI = 1
|
||||||
|
let g:NERDTreeIgnore = []
|
||||||
|
let g:NERDTreeStatusline = ''
|
||||||
|
" Automaticaly close nvim if NERDTree is only thing left open
|
||||||
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||||
|
" Toggle
|
||||||
|
nnoremap <silent> <C-b> :NERDTreeToggle<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user