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

When a hidden buffer is opened, should it update frecency score? #236

Open
delphinus opened this issue Aug 5, 2024 · 1 comment
Open

Comments

@delphinus
Copy link
Member

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?

@csessh
Copy link

csessh commented Aug 19, 2024

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.

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

No branches or pull requests

2 participants