summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-07-10 12:52:32 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-07-10 12:52:32 +0100
commit3dcdc24061b35b358d454ff0cb47cd7206499ab4 (patch)
treebadabe130d40a77266f63d92e09a40db8aa556d4 /vimrc
parentec6b8ec9fa98cec4bf3fa6ef64112847f13b2e5a (diff)
Add color environment variables for zsh and vim
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
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=