Skip to content

Support alternate sorting option #12

Description

@stelcodes

First of all, thanks for this program. It's very useful to me. Are you open to adding filename sorting instead of the default vector sort? I use nnn (the terminal file viewer) all the time and I'm often renaming files with one tmux pane while another tmux pane has nnn open to look through directory contents. The current sorting is way different from nnn which makes this process difficult. I've forked the repo and changed the sorting to match almost perfectly. I was thinking it could be cool to have a --sort <algo_name> flag with options default and nnn to start with? Is that outside the scope of the project?

Here's my commit that changed the sorting for reference.

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