mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 20:33:50 -05:00
Option for mixing dot files when sorting
NERDTree can now optionally ignore the dot at the beginning of hidden filenames for sorting to show them next to normal files if `g:NERDTreeSortHiddenFirst` is set to 0. (By default it's set to 1 to preserve the current behavior.) This is just like what GNU ls does when `LC_COLLATE` environment variable is set to `en_US`.
This commit is contained in:
@@ -49,6 +49,7 @@ call s:initVariable("g:NERDChristmasTree", 1)
|
||||
call s:initVariable("g:NERDTreeAutoCenter", 1)
|
||||
call s:initVariable("g:NERDTreeAutoCenterThreshold", 3)
|
||||
call s:initVariable("g:NERDTreeCaseSensitiveSort", 0)
|
||||
call s:initVariable("g:NERDTreeSortHiddenFirst", 1)
|
||||
call s:initVariable("g:NERDTreeChDirMode", 0)
|
||||
call s:initVariable("g:NERDTreeMinimalUI", 0)
|
||||
if !exists("g:NERDTreeIgnore")
|
||||
|
||||
Reference in New Issue
Block a user