allow NerdTree to show hidden files
This commit is contained in:
parent
6493ed4dac
commit
fd4d9fde78
1 changed files with 8 additions and 4 deletions
|
|
@ -42,6 +42,9 @@ let g:NERDTreeWinPos = "right"
|
||||||
"Adjust NerdTree size
|
"Adjust NerdTree size
|
||||||
let g:NERDTreeWinSize=28
|
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.
|
" 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
|
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 autoindent
|
||||||
set smarttab
|
set smarttab
|
||||||
set cindent
|
set cindent
|
||||||
set tabstop=2
|
set tabstop=8
|
||||||
set shiftwidth=2
|
set softtabstop=0
|
||||||
|
set shiftwidth=4
|
||||||
" always uses spaces instead of tab characters
|
" always uses spaces instead of tab characters
|
||||||
set expandtab
|
set expandtab
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue