Waters, Bill schrieb:
> Doing it visually is ok.  And this gets me close...
>
>       /.
>       :match Ignore /{pattern}/
>
> Search highlighting for me is black text on a red background.  My
> normal background is black.  The result of the ":match Ignore
> /{pattern}/" is that the "pattern" text is black on a black background
> - invisible.  Obviously, I could change my colorscheme.  But do you
> see a quick/clever/temporary way around this?
>
> --Bill

You can use any other highlighting group than "Ignore".
    :hi
    :h highlight-groups


Using Normal:
    /.
    :match Normal /{pattern}/
doesn't work, but (GUI only):
    /.
    :hi MyNormal guifg=fg guibg=bg
    :match MyNormal /{pattern}/

-- 
Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to