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

Add a setting to allow the current buffer in helm-source-projectile-buffers-list #177

Open
marshall-lee opened this issue Oct 23, 2023 · 0 comments

Comments

@marshall-lee
Copy link
Contributor

marshall-lee commented Oct 23, 2023

Expected behavior

helm-source-projectile-buffers-list should either return or filter out the current buffer from the candidates list depending on a setting.

Actual behavior

helm-source-projectile-buffers-list always filters out the current buffer.

Proposal

Inspired by the similar setting for Ivy called counsel-projectile-remove-current-buffer https://github.com/ericdanan/counsel-projectile/blob/40d1e1d4bb70acb00fddd6f4df9778bf2c52734b/counsel-projectile.el#L521-L526 I propose to add a similar setting called helm-projectile-remove-current-buffer to allow the customization of how helm-source-projectile-buffers-list behaves.

One common example of why it's useful is when you set projectile-switch-project-action to helm-projectile which shows the list of buffers. I switch between projects quite often and it's always a pain that I cannot select a most recent buffer quickly because it's skipped from the buffers list. This is actually fixed by #178

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

1 participant