commit b64f4428c18c528cc21b7bd6fec41f33428f85c7
parent e7b663fe94ba94fc3b5d2856294bbe0ca4a98541
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date: Thu, 5 Jul 2012 15:51:13 +0100
default NERDTreeCasadeOpenSingleChildDir to 1
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt
@@ -972,7 +972,7 @@ option: >
------------------------------------------------------------------------------
*'NERDTreeCasadeOpenSingleChildDir'*
Values: 0 or 1
-Default: 0.
+Default: 1.
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
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -69,7 +69,7 @@ call s:initVariable("g:NERDTreeShowHidden", 0)
call s:initVariable("g:NERDTreeShowLineNumbers", 0)
call s:initVariable("g:NERDTreeSortDirs", 1)
call s:initVariable("g:NERDTreeDirArrows", !s:running_windows)
-call s:initVariable("g:NERDTreeCasadeOpenSingleChildDir", 0)
+call s:initVariable("g:NERDTreeCasadeOpenSingleChildDir", 1)
if !exists("g:NERDTreeSortOrder")
let g:NERDTreeSortOrder = ['\/$', '*', '\.swp$', '\.bak$', '\~$']