nvim-ide icon indicating copy to clipboard operation
nvim-ide copied to clipboard

How to sort in explorer

Open RockKeeper opened this issue 5 months ago • 0 comments

Hi Guys!

At first, i really really love nvim-ide and it opens a whole new experience to me, so thanks for that :)

The only thing i'm missing is the possibility to change the file sorting in the explorer-view. I have several file starting with numbers but the tree isn't sorting correct for me:

Current State:

root-folder/
- subfolder/
-- 40-xyz.yaml
-- 9-abc.yaml
-- terraform-plan.yaml
-- github-workflow.yaml
-- 2-efghij.yaml

Also a natural order would be awesome to have for files and folders. Instead of:

- 1-xxx
- 10-xxx
- 2-xxx
- 3-xxx

... this would be great:

- 1-xxx
- 2-xxx
- 3-xxx
- 10-xxx

How can i change that? Can i provide a custom sort-method somewhere? Sorry if this is obvious for some of you but i struggle here. Many thanks in advance!

RockKeeper avatar Sep 11 '24 10:09 RockKeeper