Wednesday, September 4, 2013

Re: Set different highlighting for Search versus current quickfix error

On Wednesday, September 4, 2013 9:48:48 Tony Mechelynck wrote:
> ...by setting 'nocul' or by moving the cursor to a different line of
> the quickfix window (which I normally don't use: :cnext :cprev
> :cnfile :cpfile :cfirst :clast are normally enough for me), I see
> the yellow background on the whole line. Let's see...
>
> If I do
> :hi Search guibg=pink
> the whole line gets a pink background. Now let's try to find if
> there are any other highlights which link to Search... No there
> isn't, so yes, it must be hardcoded.
>
> But you can hide it (as long as the cursor remains on the line) by
> setting 'cursorline'. The CursorLine highlight will then override
> the Search highlight for the current quickfix line as long as the
> cursor remains on it.

Thanks Tony. Maybe I can use that in a pinch sometime.

--
--
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/groups/opt_out.

No comments: