allow NerdTree to show hidden files

This commit is contained in:
tomit4 2021-11-05 20:12:16 -07:00
parent 6493ed4dac
commit fd4d9fde78

View file

@ -42,6 +42,9 @@ let g:NERDTreeWinPos = "right"
"Adjust NerdTree size
let g:NERDTreeWinSize=28
"Show hidden files in NERDTree
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
@ -164,8 +167,9 @@ set mouse=a
set autoindent
set smarttab
set cindent
set tabstop=2
set shiftwidth=2
set tabstop=8
set softtabstop=0
set shiftwidth=4
" always uses spaces instead of tab characters
set expandtab