From: Oleg Broytman Date: Fri, 22 Aug 2014 03:51:51 +0000 (+0400) Subject: Better mode color for dark terminals X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=1b460061e9e2a7bb725ff6825f709d16072d9071 Better mode color for dark terminals --- diff --git a/.vimrc b/.vimrc index 422f97d..d86e0bb 100644 --- a/.vimrc +++ b/.vimrc @@ -204,15 +204,17 @@ else \ || has("win32") " Background of the terminal is black or dark grey set background=dark + highlight MoreMsg ctermfg=white + highlight ModeMsg ctermfg=white + highlight Question ctermfg=white else set background=light + highlight MoreMsg cterm=bold ctermfg=NONE + highlight Question cterm=bold ctermfg=NONE endif if (&term =~ "linux") execute 'set t_kb=' . nr2char(127) - else - highlight MoreMsg cterm=bold ctermfg=NONE - highlight Question cterm=bold ctermfg=NONE endif if (&term =~ "rxvt") || (&term =~ "screen") || (&term =~ "term") || (&term =~ "vt100")