Skip to content

How to sort in explorer #131

@RockKeeper

Description

@RockKeeper

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions