feat(#2313): sort_by -> sort.sorter, add sort.folders_first default true #2314
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #2313
rm -rf * ; mkdir -p a/10 a/20 z/10 z/20 ; touch a/5 a/15 a/25 z/15 b
sort_by = "name"
sort_folders_first = true
sort_by = "name"
sort_folders_first = false
rm -rf * ; mkdir -p a.z/10 a.z/20 z.a/10 z.a/20 ; touch a.z/5 a.z/15 a.z/25 z.a/15 b.a
sort_by = "extension"
sort_folders_first = true
sort_by = "extension"
sort_folders_first = false
rm -rf * ; mkdir -p a.a.z/10 a.a.z/20 z.a.a/10 z.a.a/20 ; touch a.a.z/5 a.a.z/15 a.a.z/25 z.a.a/15 b.a.a
sort_by = "suffix"
sort_folders_first = true
sort_by = "suffix"
sort_folders_first = false
rm -rf * ; mkdir -p a.a.z/10 a.a.z/20 z.a.a/10 z.a.a/20 ; touch a.a.z/5 a.a.z/15 a.a.z/25 z.a.a/15 b.a.a ; sleep 1; touch c.a.a ; sleep 1; touch d.a.a
sort_by = "modification_time"
sort_folders_first = true
sort_by = "modification_time"
sort_folders_first = false
rm -rf * ; mkdir -p a/10.zig a/20.toml z/10.a z/20 ; touch a/5 a/15.c a/25.txt z/15 b.toml c.c
sort_by = "filetype"
sort_folders_first = true
sort_by = "filetype"
sort_folders_first = false