From 7aa4867288913508876b5e4b9179f31a3e458a3e Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Mon, 14 May 2018 22:06:58 +0200 Subject: [PATCH 1/2] Make Special darker and lose background The explicit background is annoying. Use the natural background and make the fg a bit darker to enhance contrast. --- .vim/colors/hjp.vim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.vim/colors/hjp.vim b/.vim/colors/hjp.vim index 7748e20..c7dc81c 100644 --- a/.vim/colors/hjp.vim +++ b/.vim/colors/hjp.vim @@ -18,17 +18,17 @@ hi Error term=reverse ctermfg=15 ctermbg=9 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 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=53 ctermbg=NONE 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 " (there are way too many command line tools that assume a black background and -" lightlight stuff in yellow). +" hilight stuff in yellow). hi StatusLine term=bold,reverse cterm=NONE ctermfg=226 ctermbg=DarkGray gui=NONE guifg=Yellow guibg=DarkGray hi String term=bold ctermfg=90 ctermbg=NONE guifg=Magenta From 2cfc86ebed4733228bfe38ae295b8c5a6a4e4bd3 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Fri, 18 May 2018 13:59:05 +0200 Subject: [PATCH 2/2] 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