summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-04-22 09:11:42 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-04-22 09:11:42 +0100
commita23ec29520a443886320b0a18c2da7d785d15dc7 (patch)
treeab8de37151bc80b2c1008f56de59e5c1246067f5 /vim/vimrc
parentd720c439a60218423537472f626397ad5d0c5a3d (diff)
parent39a0905be4d3e1e6b28a96c6bbdd6e095e7ce82e (diff)
Merge branch 'master' of github.com:uvaes/dotfiles
Conflicts: offlineimaprc
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc28
1 files changed, 14 insertions, 14 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e6cf74d..6a171d8 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -135,20 +135,20 @@ set encoding=utf-8
set mouse=a
"" Colorscheme
-function! UpdateColorscheme()
- try | colorscheme solarized | catch | endtry
- if strftime("%H") >= 8 && strftime("%H") < 21
- set background=light
- else
- set background=dark
- endif
-
- hi Cursor guifg=white guibg=blue
- hi iCursor guifg=black guibg=green
- hi! link conceal normal
- hi! link folded comment
-endfunction
-autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme()
+try | colorscheme solarized | catch | endtry
+" function! UpdateColorscheme()
+" if strftime("%H") >= 8 && strftime("%H") < 21
+" set background=light
+" else
+" set background=dark
+" endif
+
+" hi Cursor guifg=white guibg=blue
+" hi iCursor guifg=black guibg=green
+" hi! link conceal normal
+" hi! link folded comment
+" endfunction
+" autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme()
"" Custom mappings