Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] better sort implement suggest #1242

Open
2 tasks done
unisgn opened this issue Dec 22, 2020 · 2 comments
Open
2 tasks done

[REQUEST] better sort implement suggest #1242

unisgn opened this issue Dec 22, 2020 · 2 comments

Comments

@unisgn
Copy link
Contributor

unisgn commented Dec 22, 2020

Before creating a feature request

  • I checked the next branch to see if the feature has already been
    implemented
  • I searched existing reports to see if it is already requested.

Version

1.6.1

Currently, there are two sort options in rofi: fzf and normal levenshtein distance.
If you just care about strings, I think these two options might be enough.
But when you care about real usage case in rofi, I think more things should to be concerned:
1, In combi mode, I'd like the filter results also be ordered as the mode order in combi mode option.
2, If there is a history in a certain mode, I think most used item should have a higher rank.
3, Mostly I search some keyword in the order as they are in the origin, so the closer the keyword's first appearance to the beginning of the item, the higher rank of the item should be.

I think the above 2 and 3 should be useful in run or drun mode.

@github-actions
Copy link

@unisgn: hello! 👋

This issue is being automatically closed because it does not follow the issue template.

@github-actions github-actions bot added the Incomplete Report - Please follow the guidelines Your report is incomplete and does not follow the guidelines, you may not expect an answer label Dec 22, 2020
@github-actions github-actions bot removed the Incomplete Report - Please follow the guidelines Your report is incomplete and does not follow the guidelines, you may not expect an answer label Dec 22, 2020
@github-actions github-actions bot reopened this Dec 22, 2020
@DaveDavenport
Copy link
Collaborator

A PR is welcome to improve this behavior. It is not currently on the roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants