Lets say I search using /plug
now if the hlsearch
is on vim will highlight all the occurrence
of keyword plug
now if my cursor is on the 2nd occurrence I want to highlight that differently so that i can quickly find where my cursor is
for example you can see in the following image it hard to quickly find the cursor position
The vim-searchlight will highlight the current search match. It does this without any mappings and works with popular plugin vim-cool. There others as well: vim-seachhi & vim-searchant.
Thanks
vim-seachhi
looks like what I am looking for but I was hoping for a simpler config based solution but looks like there isn't anyOut of curiosity why vim-searchhi over vim-serachlight? Especially since you want a simpler configuration.
because I am not sure what
vim-searchlight
does on the documentation page it saysVim-searchlight highlights Vim's current search match.
what i understand by it is it only highlight current mach not rest of it but what i want is highlight current search in some other color and the rest of mach in other color also on the readme there is no image or GIF to show it's behaviorHere is an example of vim-searchlight
ooh then searchlight is what I will use awesome thanks