telescope-frecency.nvim
telescope-frecency.nvim copied to clipboard
When a hidden buffer is opened, should it update frecency score?
frecency.register function is called by BufWinEnter autocmd, but the current build ignores if the buffer is already registered. Should it add scores if the user frequently makes the buffer un-hiddened?
I'd say yes. It seems quite intuitive for it to behave in such a way.
As an user, if I jump in and out a file frequently, I'd expect the score to go up, thus makes the file more accessible in the list of files.
I was searching for this feature and ended up here. I tend to keep Neovim running for a long time, so it would be helpful if hidden buffers also contributed to the score.
Sorry for late.
I've implemented this in #307 and released 1.2.0. You can enable this feature by unregister_hidden = true in your config.
I'm planning to make this default: true in a future release such as 2.0.0.
Thank you for the awesome work