ap / vim-buftabline

Forget Vim tabs โ€“ now you can have buffer tabs
http://www.vim.org/scripts/script.php?script_id=5057
MIT License
782 stars 75 forks source link

Splits: non-focused split more highlighted than focused one #66

Closed pabuisson closed 5 years ago

pabuisson commented 5 years ago

Hey guys,

I've been finding this very disturbing for quite a while. I often work with splits and multiple buffers. In that kind of situations, the higlighting is very unintuitive: the inactive split buffers are much more emphasized (buffer name has a background color) than the active one (buffer name font color is set).

For instance :

capture d ecran 2019-02-22 a 11 49 41

What would be the best way to deal with this? Change the class used for highlighting? Make it a parameter? Any other idea?

ap commented 5 years ago

Does :help buftabline-colors leave you with further questions? ๐Ÿ™‚

pabuisson commented 5 years ago

Hum. I'll have to try again, I did try to overwrite the colors and it did not seem to work as I was expecting.

I'll give it another shot, this is not something I'm used to, I may have done it wrong.

pabuisson commented 5 years ago

Okay I figured it out. Thanks for pointing me in the right direction @ap, I was almost there but messed up in my initial attempt to redefine the color groups. In case anyone is interested, I ended up with something like this :

hi link BufTabLineActive BufTabLineHidden

so that visible but inactive buffers are highlighted just like any other hidden buffer. Only the focused buffer is now highlighted differently.

ap commented 5 years ago

Ah, yeah, that makes sense for just removing the distinction altogether.

Glad youโ€™re all set. ๐Ÿ™‚