Vim Search highlighting

Topics about the system utilities that are not related to Hard-disk and storage
vanepp
Posts: 85
Joined: 22 Jun 2012, 02:24

Vim Search highlighting

Postby vanepp » 25 Aug 2014, 21:30

Hopefully there is a vim expert around :-). I'm trying (so far without success) to change the highlighting on the
vim Search command. Google has lots of posts on how to do this such as in the .vimrc do

:hi Search ctermfg=Blue ctermbg=Yellow cterm=NONE term=NONE

but with that set

:hi shows

...
Search (Red background black text as the example) ctermfg=4 ctermbg=3 guibg=Yellow
...

not the colors that I set and it says it is using. Nothing I have found will override that red background highlight. What I want is the default yellow background and red text but I can't seem to achieve that. Anyone know how? I suspect there is a setting somewhere that I haven't found yet which is overriding what I want but I don't know where it is. Can anyone help?

Peter Van Epp

Return to “System software”

Who is online

Users browsing this forum: No registered users and 1 guest