default NERDTreeCasadeOpenSingleChildDir to 1

This commit is contained in:
Martin Grenfell
2012-07-05 15:51:13 +01:00
parent e7b663fe94
commit b64f4428c1
2 changed files with 2 additions and 2 deletions

View File

@@ -972,7 +972,7 @@ option: >
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*'NERDTreeCasadeOpenSingleChildDir'* *'NERDTreeCasadeOpenSingleChildDir'*
Values: 0 or 1 Values: 0 or 1
Default: 0. Default: 1.
This option tell NERDTree open the child directory if the selected opening This option tell NERDTree open the child directory if the selected opening
directory has only one child that is a directory, and do same to sub-directory directory has only one child that is a directory, and do same to sub-directory

View File

@@ -69,7 +69,7 @@ call s:initVariable("g:NERDTreeShowHidden", 0)
call s:initVariable("g:NERDTreeShowLineNumbers", 0) call s:initVariable("g:NERDTreeShowLineNumbers", 0)
call s:initVariable("g:NERDTreeSortDirs", 1) call s:initVariable("g:NERDTreeSortDirs", 1)
call s:initVariable("g:NERDTreeDirArrows", !s:running_windows) call s:initVariable("g:NERDTreeDirArrows", !s:running_windows)
call s:initVariable("g:NERDTreeCasadeOpenSingleChildDir", 0) call s:initVariable("g:NERDTreeCasadeOpenSingleChildDir", 1)
if !exists("g:NERDTreeSortOrder") if !exists("g:NERDTreeSortOrder")
let g:NERDTreeSortOrder = ['\/$', '*', '\.swp$', '\.bak$', '\~$'] let g:NERDTreeSortOrder = ['\/$', '*', '\.swp$', '\.bak$', '\~$']