New .bashrc

This commit is contained in:
Sonny Bakker 2017-08-23 21:34:57 +02:00
parent 9a03d6de56
commit 0da56d6ae1
3 changed files with 33 additions and 11 deletions

View file

@ -32,6 +32,18 @@ set t_ut=
" Light colorscheme by default
colorscheme seagull
"Change theme depending on the time of day
let hr = (strftime('%H'))
if hr >= 19
set background=dark
colorscheme spacemacs
elseif hr >= 8
colorscheme xcode
elseif hr >= 0
set background=dark
colorscheme spacemacs
endif
" Terminal colors
set termguicolors
@ -82,6 +94,8 @@ au BufWinEnter * silent loadview
"files in current directory
autocmd FileType python compiler pylint
"Netrw options
function! ToggleVExplorer()
if exists("t:expl_buf_num")