romainl / vim-cool

A very simple plugin that makes hlsearch more useful.
MIT License
524 stars 24 forks source link

Highlight current match #52

Open 945fc41467 opened 3 weeks ago

945fc41467 commented 3 weeks ago

Currently when I type /my search the cursor is moved to the next match and all matches are highlighted in yellow, excepted the current match which just turn the text orange, making it… actually less visible than other matches… It is well highlighted once I press enter.

How to turn on the highlight of the current match while typing ? Capture

jmdevin commented 3 weeks ago

If you take a look at #51 I think it will help you.

romainl commented 3 weeks ago

Found it!

What does the following command say?

:verbose hi CurSearch

Examples of expected outputs:

" with $ vim --clean or an outdated colorscheme
CurSearch      xxx links to Search

" with an up-to-date colorscheme
CurSearch      xxx links to IncSearch
        Last set from ~/.vim/colors/malotru.vim line 73