On Saturday 24 July 2010 04:36:06 Tony Mechelynck wrote:
> On 23/07/10 10:28, Frans Grotepass wrote:
> > Hi all,
> >
> > I just added cursor line and column highlighting. My standard background
> > colour is black and I only want the colour of the line and column to
> > change to the set colour when the background was black. This will make
> > the cursor line and column highlighting less intrusive (with the value
> > set to for instanced grey9 in gvim).
> >
> > Thanks in advance. 

Thx for the feedback, Tony.

> see
> 
>       :help 'cursorcolumn'
>       :help 'cursorline'

I did check out this and also had a look at the examples in the wiki. 

> You could for instance add
> 
>       set cuc cul
> 
> in your vimrc, and
> 
>       if &bg == 'dark'
>               hi CursorLine gui=NONE guibg=#333333
>       else
>               hi CursorLine gui=NONE guibg=#CCCCCC
>       endif
>       hi! link CursorColumn CursorLine

This does not work as I want it to work. Maybe my explanation is not quite 
clear. Let's take as example my fold colour. If text is folded in, the colour 
is a light grey with turquise text.  Standard text is light grey on a black 
background. The column and line hightlighting is set to quite dark greys to 
not interfere too much. Unfortunately the movement of the line and column can 
be seen on the folded lines (and other non dark background) This movement in 
one's perifiral vision is distracting. What I thus basically want is for the 
line and column highlighting to move down in the layers to just above the 
standard background and thus remain below the folding background colour (or 
another example, the TODO/FIXME colour).

Best regards,

Frans

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