Sort items by frecency (frequency + recency) #4543
lalvarezt
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sorts fzf results based on your selection history, prioritizing items you use frequently and recently (frequency + recency = "frecency").
Note: Author has stated (#777, #1213) that they're not interested in adding this functionality, so I thought I'll give it a try.
How it works:
Usage:
Inspired by: zoxide's frecency algorithm for directory jumping.
You can check it here (frecency branch)
https://github.com/lalvarezt/fzf/tree/frecency
Updates
2025-10-10
Added new actions to manage the frecency database
It can be used like so:
Beta Was this translation helpful? Give feedback.
All reactions