diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -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 |