On Saturday, May 20, 2017 at 2:49:45 AM UTC-5, Steve Simmons wrote: > Advance apologies if my google-fu has failed and there's already an answer to > this somewhere - > > I'd like to have search highlighting honor the current state of syntax > coloring but inverting foreground and background. Thus if I search for a > string and its found in some thing displayed as green on black, the > highlighted search is displayed as black on green. If the next instance is > found in something displayed as black on yellow, the highlighted search is > displayed as yellow on black. > > Advance thanks, > > Steve
In your colorscheme, find the "hi Search" line and change it to: hi Search gui=inverse term=inverse cterm=inverse Don't specify any guifg, guibg, etc. colors. -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
