[vim] NERDTree hidden files enabled by default

This commit is contained in:
2022-08-21 16:45:42 +03:00
parent 65b8cd89a7
commit 16d36a36e7

View File

@@ -70,6 +70,7 @@ nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
highlight VertSplit cterm=none
let NERDTreeShowHidden=1
" Exit Vim if NERDTree is the only window remaining in the only tab.
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif