stevearc / oil.nvim

Neovim file explorer: edit your filesystem like a buffer
MIT License
3.84k stars 110 forks source link

feature request: Natural sorting #306

Closed EJIqpEP closed 6 months ago

EJIqpEP commented 8 months ago

Did you check existing requests?

Describe the feature

A possibility to add natural sort so files with numbers are sorted correctly

Provide background

I have a numbered list of files in the folder. Oil sorts them like this 1 ... 10 100 101 ... 11

What is the significance of this feature?

cannot use this plugin without it

Additional details

I didn't find anything in docs or open issues which allows to sort files. For example nvim-tree has the same problem but you can provide a sorting function to it to implement a custom sorting.

EJIqpEP commented 7 months ago

No comment at all? Is this feature implemented/planned? Or the project is abandoned?

lucaseras commented 6 months ago

@stevearc we can close this issue! Thanks again for the review