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 cd4e1f4..481eec4 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