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

[Feature Request]: Text alignment in buffer tabs #870

Open
mariuswinger opened this issue Feb 27, 2024 · 2 comments
Open

[Feature Request]: Text alignment in buffer tabs #870

mariuswinger opened this issue Feb 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@mariuswinger
Copy link

What?

Would like the option to choose text alignment in buffer tabs (i.e. mode="buffers"). Could not find any options for doing this in the config. There is an option for aligning the text in the offset area, so I imagine it will be something similar to that: A simple buffer_text_alignment option in the config allowing 'center' | 'left' | 'right'. This might of course be more complicated than it seems at a first glance due to all the other possible options (e.g. separator style might be slanted, close button might or might not be present), so I imagine it would be easiest to have it for the 'thin' setting as a start?

Why?

Just seems like a thing that should be adjustable. Also, it is my personal preference having buffer names left aligned and the centering just does not look that good to me.

@mariuswinger mariuswinger added the enhancement New feature or request label Feb 27, 2024
@akinsho
Copy link
Owner

akinsho commented Feb 27, 2024

@mariuswinger as you say this is actually a fair bit more complicated than it might seems since each tab is sort of put together piece by piece so just shimmying things around is more work than it might seem. I've been on a fairly long journey to refactor the plugin so the various bits can be re-arranged by the user as they please so they can say put diagnostics at the beginning or numbers at the end (since hopefully this will end like 70% of issues I get, although I'm sure it won't).

Tbh that effort is still a ways away and I definitely don't have the time to pursue it anytime soon. Most of my effort in this plugin came during COVID when I had more time, nowadays I really do not and am mainly only looking at v. severe bugs or reviewing other people's PRs.

if anyone decided they wanted to move this piece forward I could help with some v. light guidance but realistically I'm not gonna take this on myself unless I hit some unexpected long patch of free time for this sort of thing.

@mariuswinger
Copy link
Author

@akinsho That is completely reasonable. Thank you for the response! I might take a closer look myself if I get the time. Big if.

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