Thursday, October 6, 2011

Re: Highlighting for tabline for Tabbed Windows feature

> On Fri, Oct 07, 2011 at 01:54:41AM +0200, Tony Mechelynck wrote:
>On 06/10/11 21:52, Roger wrote:
>> The following scenarios are what I get here for a tabline for Tabbed Windows.
>> There seems to be inconsistencies for tabline color scheme or theme for my
>> scenarios, and am wondering how best to fix, or in the case of URXVT default
>> and my settings, what is hindering tabline highlighting? (See below
>> scenarios.)
>>
>> 1) Virtual Terminal
>> On virtual terminal, active tab is white font on a black background, while
>> inactive tabs are cyan/lt blue on a black background. (I like this, however I
>> think it would be also preferable to use a bold font, in addition to the blue
>> font color, so that the active tab is more noticeable.)
>>
>>
>> 2) URXVT using Black Background and White Foreground (Customized)
>> Within URXVT, fonts are white on black background with underlining for inactive
>> tabs and no underlining for the active/focused tab.
>>
>> This tabline color theme is barely functional. Is there a way to do something
>> similar to the above font coloring for tabline, in addition, using a bold font?
>> (I just noticed the default URXVT theme for some reason is better highlighted as
>> noted below... wondering what causing me to loose this on an inverted color
>> scheme.)
>>
>>
>> 3) URXVT using Default Theme
>> Active tab is black font on white background with inactive tabs highlighted
>> grey with a white font. I can distinctly tell which window tab I'm working in
>> with this color scheme. Although I'd probably still want to use a bold font
>> for the active tab font! (I still really dislike using a white background
>> though! ;-)
>>
>>
>
>See :help setting-tabline for how to set a custom tabline in text mode
>(i.e., either in a terminal, or with the e flag absent from 'guioptions'
>in gvim). The three highlight groups used for the tablilne are mentioned
>there too.

OK. Great. I didn't realize they were even mentioned, as all I noticed was
the scripting to reprogram the entire tabline color scheme.


>You may want to write your own colorscheme, and possibly check one or
>more of the 'term' setting, the 'background' setting, or the 't_Co'
>setting, to select different colours depending on the terminal you're
>running in.
>
>see:
> :help setting-tabline
> :help 'term'
> :help 'background'
> :help 't_Co'
> :help cterm-colors

I want to avoid going with something unique and stick with a standard. <shrugs>
If it's good enough for everyone else, then it should be good enough for me.
But VIM tends to be the exception with it's excellent ability to be
manipulated... as such, something can always be better.

Anyways, I wanted to speak-up on this as I figured others might have similar
problems distinguishing the active tab. As such, if the font can be made bold
on focus/selection, might be a good idea to get into the main code instead of
writing code/scripting just for my use. ;-)

In the meantime, I'll hunt down those three color scheme scenarios.

--
Roger
http://rogerx.freeshell.org/

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment