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

Grouping issue when using with projectile #241

Open
crocodile-dentist opened this issue Sep 16, 2024 · 4 comments
Open

Grouping issue when using with projectile #241

crocodile-dentist opened this issue Sep 16, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@crocodile-dentist
Copy link

Hello,

When I have (centaur-tabs-group-by-projectile-project) enabled and launch a magit/dired/help/etc buffer which I then quit/bury via q it stays and pollutes my tab bar. Is this the intended functionality and is there a work-around for how I would like to have it act? Ideally it would be great if I could group my buffers by projectile project but still have some customizeable means of managing/grouping my tabs within that project. Currently I think it's either/or - use projectile grouping or use centaur grouping, but a mix of them would be ideal.

@jcs090218
Copy link
Collaborator

Hi, I don't use projectile. Can you elaborate your use cases?

Another option is to customize the variable centaur-tabs-buffer-groups-function yourself. :)

@jcs090218 jcs090218 added the question Further information is requested label Sep 16, 2024
@crocodile-dentist
Copy link
Author

I have several related but distinct projects that I contribute/maintain to and to keep things manageable I want every project to have it's own magit/info/dired/etc buffers. I could edit the function you suggest, but it seems like a fairly coarse approach to my problem. It would be enough for my purposes that buffers which normally get buried when striking q also disappear from the tab line which is the default behavior.

@jcs090218
Copy link
Collaborator

I see what you meant here. I assumed it was the design since that's how project.el works now.

I've been thinking about this in the past but I think that's more natural since magit/info/dired buffers are technically not the project files. 🤔

@jcs090218 jcs090218 added enhancement New feature or request and removed question Further information is requested labels Sep 16, 2024
@crocodile-dentist
Copy link
Author

Perhaps you are right, but maybe the fix to hide a buffer from the tab line which normally disappears when hitting q would be a simple one? It works when centaur is managing the buffers, but not in projectile mode.

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

No branches or pull requests

2 participants