Sunday, September 5, 2010

Re: CursorLine colour

Hi,
How did you change the cursorline color? 
Generally,cursorline color is defined in your color scheme file.
I think the proper way to change cursorline color is adding a line like "hi CursorLine ..." to a color scheme file then use :colorscheme <file> to make it work.

2010/9/5 AK <andrei.avk@gmail.com>

Hi, I'm having a bit of a problem with cursorline here.. I like to have
it turned on constantly but with a very light background, grey30. The
trouble is that when I switch a window or buffer, it turns back to
default (grey40). I set up an autocommand that sets it to grey30 on
buffer change. That works fairly well, when I switch, I can see for half
a second colour turning to grey40 then back to grey30. However, in some
cases colour gets stuck at grey40, and I have to switch buffers again to
get it right. I can't figure out when exactly that happens, I hope
someone can help, if not to fix this permanently then at least give me a
hint of what actions may be causing this and why..

I did grep my .vim dir for cursorline and there isn't anything I can see
that could be the cause, I think.

 -ak

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

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