Wednesday, January 21, 2015

Want highlight CursorLine/Column to override Search

I have the following in my ~/vimfiles/colors/mine.vim:

highlight CursorColumn guibg=#002800 guifg=white gui=NONE
highlight CursorLine guibg=#002000 guifg=white gui=NONE
highlight Search guifg=black guibg=#cc0000 gui=bold

Sometimes, the cursor line/column overlaps with the text that is
highlighted for Search. In those locations, Search overrides
CursorLine/Column, and the specified bold formatting makes the
characters jump out of the screen into my eyeballs.

Is there a way to specify which highlight property has priority when
characters fall under several highlight groups?

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: