nvim-telescope / telescope-frecency.nvim

A telescope.nvim extension that offers intelligent prioritization when selecting files from your editing history.
MIT License
697 stars 35 forks source link

Idea: inc frecency by how often buffer used #131

Closed quolpr closed 6 months ago

quolpr commented 11 months ago

Hey! Nice plugin, but I really miss one feature. Telescope has a nice built-in feature that shows the most recent used buffer — https://github.com/nvim-telescope/telescope.nvim/issues/791 . To use it, you need to call: require("telescope.builtin").buffers { sort_mru = true, ignore_current_buffer = true }.

Would it be possible to adopt the most recent used buffer to frecency?

delphinus commented 6 months ago

:Telescope frecency sorts candidates by their “frecency” scores. If we sort by another logic (sort_mru) additionally, the candidates will be sorted that is not relevant to “frecency”. It is not the aim of this plugin.