From 746860ded21c59dd49a755fd38f8f56ee07b0846 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 15 Oct 2014 17:53:15 +0100 Subject: Adding tmux + zsh aliases --- .vimrc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 8e4e730..38ccba4 100644 --- a/.vimrc +++ b/.vimrc @@ -97,7 +97,6 @@ else set t_Co=256 endif set guitablabel=%N\ %t\ %M -set background=dark set showcmd " Layout text @@ -105,8 +104,19 @@ set wrap set linebreak set textwidth=0 set conceallevel=2 -set guifont=Monaco\ 11 +set guifont=Monaco\ 12 + +" Colorscheme +function! UpdateColorscheme() + if strftime("%H") >= 9 && strftime("%H") < 19 + set background=light + else + set background=dark + endif +endfunction try | colorscheme solarized | catch | endtry +call UpdateColorscheme() +autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme() " Case and spell set nospell -- cgit v1.2.3