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] Config option to customize the separator between buffer names #17

Open
Dupond opened this issue Jul 1, 2020 · 3 comments

Comments

@Dupond
Copy link

Dupond commented Jul 1, 2020

Hello,

It would be nice if the separator between buffer names was customizable, e.g. with a ' | ' vertical bar.

Here's my use case: for the moment, when you decide to underline the active buffer, it will also underline two empty spaces on the left and on the right (and the tabline grows fast with all these spaces between buffer names), so being able to customize it (e.g. with a single space) would be a nice addition.

Obviously, if you find it's not worth it, please feel free to close this.

Best regards,
Dupond

@pacha
Copy link
Owner

pacha commented Jul 2, 2020

Hi Dupond,
I think that your suggestion here somehow relates to #15 too. It could make sense to make buffer labels a bit more configurable in general. Let me think about it, but as long as the configuration doesn't get too complex I think it may definitively be worth it.

Best regards!

@Dupond
Copy link
Author

Dupond commented Jul 3, 2020

Nice. Thanx for taking care.

@Dupond
Copy link
Author

Dupond commented Jul 6, 2020

May I make a suggestion ? Let the ability to highlight the buffer names independently from anything else (no spaces, no separator, and no flag of any kind). For the moment, the separator and the modified flag (*) are also included in the highlight groups (VemTablineNormal, VemTablineSelected and VemTablineShown). I think it would make more sense that way, since the buffer name could then be treated as an independent element ; for someone like me who underlines the active buffer, this would also have the benefit to make the modified flag more visible, as it would appear clearly as an added element.

Just my 2 cents ;)

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