On 19/09/11 17:56, Nathan Neff wrote:
Hello,

I have two terminals that I use -- xterm and urxvt.

If I open up vim in urxvt, the "Visual" highlighting is this:
Visual         xxx term=reverse ctermbg=7 guibg=LightGrey

If I open up vim in xterm, the "Visual" highlighting is this:
Visual         xxx term=reverse cterm=reverse guibg=LightGrey

If I open up vim in Terminator, it's the same as in Xterm

Where does the ctermbg=7 come from when I'm in urxvt?

Thanks
--Nate


The default could come from a different 'background' setting but experiment shows that current Vim 7.3 sets the Visual highlight to cterm=reverse in both cases (you _are_ using the same Vim version on all these terminals aren't you?)

To see where that highlight was last set, use

        :verbose hi Visual

Vim will then tell you if that highlight was last set from a script or (unlikely) a modeline. If it was set by you typing ex-commands at the keyboard, or by Vim factory defaults, it won't tell you where it was set, because if it was you you should now, and if factory defaults it was "never set".


Best regards,
Tony.
--
For large values of one, one equals two, for small values of two.

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

Reply via email to