Thursday, October 6, 2011

Re: Highlighting for tabline for Tabbed Windows feature

> On Thu, Oct 06, 2011 at 07:47:39PM -0800, Roger wrote:
>> On Fri, Oct 07, 2011 at 01:54:41AM +0200, Tony Mechelynck wrote:
...
>>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
...

OK. A little further along and I've got something that looks great in X with
URXVT Terminal (VIM), but under Linux Virtual Terminal it's not as fabulous
with contrast.

(Because LightGrey isn't available, and only Grey. I am using frambuffer too,
so why LightGrey isn't available, I haven't looked into it yet.)


Here's what I got so far for other users searching this thread:

" Tabline needs a little more contrast
hi TabLineSel cterm=bold,reverse ctermbg=LightMagenta ctermfg=DarkGrey
hi TabLine cterm=reverse ctermbg=White ctermfg=DarkGrey
hi TabLineFill cterm=reverse ctermbg=None ctermfg=DarkGrey


(What fun.)

One still unanswered question, is why the tabline scheme is different between
Linux Virtual Terminal, X URXVT Default Color Themed Terminal, and X URXVT User
Customized Color Themed Terminal.

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