summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
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 c7180d5..83a30cf 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -134,20 +134,20 @@ set cpoptions+=I
set encoding=utf-8
"" 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