updated vimrc

This commit is contained in:
Paul 2020-09-27 21:12:04 +02:00
parent 70480cda95
commit 6432ed0dc3

View File

@ -24,3 +24,13 @@ if has("autocmd")
\ endif
au VimLeave * silent execute '!echo -ne "\e[ q"' | redraw!
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>