Skip to content
Browse files

default NERDTreeCasadeOpenSingleChildDir to 1

  • Loading branch information...
1 parent e7b663f commit b64f4428c18c528cc21b7bd6fec41f33428f85c7 @scrooloose committed Jul 5, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 doc/NERD_tree.txt
  2. +1 −1 plugin/NERD_tree.vim
View
2 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
View
2 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$', '\~$']

0 comments on commit b64f442

Please sign in to comment.
Something went wrong with that request. Please try again.