ms-jpq / chadtree

File manager for Neovim. Better than NERDTree.
1.62k stars 60 forks source link

Suggestions for more advanced sorting #358

Open jorins opened 5 months ago

jorins commented 5 months ago

I have a directory that's currently sorted as:

dist/
node_modules/
src/
.eslintignore
.gitignore
.eslintrc.json
.prettierrc.json
package.json
tsconfig.json
README.md
.prettierignore
pnpm-lock.yaml
LICENSE

There's two things I'm noting that are a bit off here:

I'd be very glad if CHADTree's sorting could get around this. I'm guessing the appropriate solution would be to add an additional category for chadtree_settings.view.sort_by, e.g. classification that would evaluate to different values based on regular expressions, for example

Thank you for your work on this lovely project :)