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

[Q] How to set the sort of all commands to most frequently used, not alphabetical? #423

Open
kvenn opened this issue Mar 14, 2024 · 1 comment
Labels
question Further information is requested

Comments

@kvenn
Copy link

kvenn commented Mar 14, 2024

Describe your question
In my specific example, the most common thing following git checkout is main.

Or when using just with autocomplete, I'd like it to show the options sorted by the just command I run most regularly.

Is there a way to set sort to recently / most frequently used? As opposed to the default or alphabetical?

Thanks!

This was the most relevant issue I could find: #58 and skywind3000/z.lua#99

@kvenn kvenn added the question Further information is requested label Mar 14, 2024
@YasserKa
Copy link

Your problem can be solved by using a frecency tool, such as fre 1, to track the entries you are
interested in 2. Then you can populate the list using fre --sorted.

fzf-tab doesn't track this information for you.

Footnotes

  1. https://github.com/camdencheek/fre

  2. You can do that by setting a hook and parse the command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants