From 2cfc86ebed4733228bfe38ae295b8c5a6a4e4bd3 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Fri, 18 May 2018 13:59:05 +0200 Subject: [PATCH] Enhance contrast for search highlight --- .vim/colors/hjp.vim | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.vim/colors/hjp.vim b/.vim/colors/hjp.vim index 7748e20..93a8970 100644 --- a/.vim/colors/hjp.vim +++ b/.vim/colors/hjp.vim @@ -12,18 +12,18 @@ if exists("syntax_on") endif let g:colors_name = "hjp" -hi Comment term=bold ctermfg=88 ctermbg=White guifg=Red -hi Constant term=underline ctermfg=90 guifg=Magenta -hi Error term=reverse ctermfg=15 ctermbg=9 guifg=White guibg=Red -hi Identifier term=underline ctermfg=22 ctermbg=NONE guifg=Blue -hi LineNr term=bold cterm=NONE ctermfg=Gray ctermbg=Blue gui=NONE guifg=DarkGrey guibg=NONE -hi Underlined term=underline cterm=underline ctermfg=163 gui=underline guifg=SlateBlue -hi MatchParen ctermbg=yellow -hi Normal guifg=black guibg=white -hi PreProc term=underline ctermfg=Magenta ctermbg=253 guifg=Purple -hi Search term=reverse cterm=NONE ctermfg=White ctermbg=Cyan gui=NONE guifg=Black guibg=Cyan -hi Special term=bold ctermfg=DarkMagenta ctermbg=253 guifg=Magenta -hi Statement term=bold ctermfg=DarkBlue gui=NONE guifg=Brown +hi Comment term=bold ctermfg=88 ctermbg=White guifg=Red +hi Constant term=underline ctermfg=90 guifg=Magenta +hi Error term=reverse ctermfg=15 ctermbg=9 guifg=White guibg=Red +hi Identifier term=underline ctermfg=22 ctermbg=NONE guifg=Blue +hi LineNr term=bold cterm=NONE ctermfg=Gray ctermbg=Blue gui=NONE guifg=DarkGrey guibg=NONE +hi Underlined term=underline cterm=underline ctermfg=163 gui=underline guifg=SlateBlue +hi MatchParen ctermbg=yellow +hi Normal guifg=black guibg=white +hi PreProc term=underline ctermfg=Magenta ctermbg=253 guifg=Purple +hi Search term=reverse cterm=NONE ctermfg=White ctermbg=19 gui=NONE guifg=Black guibg=Cyan +hi Special term=bold ctermfg=DarkMagenta ctermbg=253 guifg=Magenta +hi Statement term=bold ctermfg=DarkBlue gui=NONE guifg=Brown " Use color 226 (pale yellow) instead of the default yellow, because I refined " the default yellow to orange for better contrast against a light background