Despacio color scheme

This commit is contained in:
Sonny Bakker 2017-10-06 21:39:10 +02:00
parent ddb353d94b
commit 668c7bb1a2
2 changed files with 365 additions and 11 deletions

View file

@ -27,16 +27,7 @@ set wildmenu
set backspace=2
set t_ut=
"Change theme depending on the time of day
let hr = (strftime('%H'))
if hr >= 19
colorscheme bubblegum-256-dark
elseif hr >= 8
colorscheme bubblegum-256-light
elseif hr >= 0
"colorscheme Tomorrow-Night
colorscheme bubblegum-256-dark
endif
colorscheme despacio
"Automatically source vimrc on save.
autocmd! bufwritepost $MYVIMRC source $MYVIMRC
@ -74,7 +65,7 @@ set laststatus=2
set statusline=\ %F\ %m%r%w\ %=\ %{hostname()}\ \ \ %{strlen(&ft)?&ft:'none'}\ %{(&bomb?\",BOM\":\"\")}\ %{&ff}\ \ %l/%L\ \ %c\ %P
"Remove trailing spaces on save
autocmd BufWritePre * :%s/\s\+$//e
autocmd BufWritePre * :%s/\s\+$//e
"Make vim save and load the folding of the document each time it loads
"Also places the cursor in the last place that it was left