Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Suggest reverse color of IncSearch #28

Open
tkkcc opened this issue May 31, 2020 · 1 comment
Open

Suggest reverse color of IncSearch #28

tkkcc opened this issue May 31, 2020 · 1 comment

Comments

@tkkcc
Copy link

tkkcc commented May 31, 2020

While searching, if only one pattern matched, this one will be hard to find. That's because IncSearch's bg is same with Normal, Only fg is different.

Here I reverse the color of IncSearch

function! MyHighlights() abort
    hi IncSearch ctermfg=0 ctermbg=3 cterm=None
endfunction

augroup MyColors
    autocmd!
    autocmd ColorScheme * call MyHighlights()
augroup END

colorscheme wal
@tkkcc tkkcc changed the title Suggest revere color of IncSearch Suggest reverse color of IncSearch May 31, 2020
@mohad12211
Copy link

@tkkcc Thank you!, I found ctermbg=7 to be more clear. Thank you again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants