mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
default NERDTreeCasadeOpenSingleChildDir to 1
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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$', '\~$']
|
||||||
|
|||||||
Reference in New Issue
Block a user