diff options
author | Urbain Vaes <urbain@vaes.uk> | 2014-10-15 17:53:15 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2014-10-15 17:53:15 +0100 |
commit | 746860ded21c59dd49a755fd38f8f56ee07b0846 (patch) | |
tree | b1b6c3306b82aa144622217511295f1f40aaef2b /.vimrc | |
parent | 8c685e4ad30af7576dd454ca8741a42d39898648 (diff) |
Adding tmux + zsh aliases
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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 |