Thursday, October 6, 2011

Re: Highlighting for tabline for Tabbed Windows feature

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.

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

Best regards,
Tony.
--
U: There's a U -- a Unicorn!
Run right up and rub its horn.
Look at all those points you're losing!
UMBER HULKS are so confusing.
-- The Roguelet's ABC

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