From 3dcdc24061b35b358d454ff0cb47cd7206499ab4 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 10 Jul 2015 12:52:32 +0100 Subject: Add color environment variables for zsh and vim --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index e8a6886..a2cf4f2 100644 --- a/vimrc +++ b/vimrc @@ -190,6 +190,12 @@ set hidden " Colorscheme silent! colo solarized +if $COLORSCHEME=="light" + set background=light +elseif $COLORSCHEME=="dark" + set background=dark +endif + highlight Comment cterm=italic set t_ZH= set t_ZR= -- cgit v1.2.3