vem-tabline icon indicating copy to clipboard operation
vem-tabline copied to clipboard

[Feature request] Config option to customize the separator between buffer names

Open Dupond opened this issue 4 years ago • 3 comments

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

Dupond avatar Jul 01 '20 07:07 Dupond

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!

pacha avatar Jul 02 '20 21:07 pacha

Nice. Thanx for taking care.

Dupond avatar Jul 03 '20 08:07 Dupond

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 ;)

Dupond avatar Jul 06 '20 12:07 Dupond