diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -59,6 +59,7 @@ let g:airline_section_c = '%F' | |||
59 | " AIRLINE_Theme: =====================================. | 59 | " AIRLINE_Theme: =====================================. |
60 | Plug 'vim-airline/vim-airline-themes' | " airline themes to match any light and dark terminal using :AirlineTheme | 60 | Plug 'vim-airline/vim-airline-themes' | " airline themes to match any light and dark terminal using :AirlineTheme |
61 | let g:airline_theme='base16' | " specifies which colorscheme should airline uses | 61 | let g:airline_theme='base16' | " specifies which colorscheme should airline uses |
62 | " let g:airline_theme='badcat' | " specifies which colorscheme should airline uses | ||
62 | " let g:airline_theme='papercolor' | " specifies which colorscheme should airline uses | 63 | " let g:airline_theme='papercolor' | " specifies which colorscheme should airline uses |
63 | 64 | ||
64 | 65 | ||
@@ -299,7 +300,7 @@ if has("autocmd") | |||
299 | 300 | ||
300 | augroup ChangeCursor | 301 | augroup ChangeCursor |
301 | autocmd VimEnter * let &t_EI .= "\<Esc>[0 q" | 302 | autocmd VimEnter * let &t_EI .= "\<Esc>[0 q" |
302 | autocmd VimEnter * let &t_SI = "\<Esc>]12;white\x7" | 303 | autocmd VimEnter * let &t_SI = "\<Esc>]12;yellow\x7" |
303 | autocmd VimLeave * silent !echo -ne "\033]112\007" | 304 | autocmd VimLeave * silent !echo -ne "\033]112\007" |
304 | augroup END | 305 | augroup END |
305 | 306 | ||
@@ -325,8 +326,10 @@ endif | |||
325 | let base16colorspace=256 | 326 | let base16colorspace=256 |
326 | if filereadable(expand("~/.vimrc_background")) | 327 | if filereadable(expand("~/.vimrc_background")) |
327 | source ~/.vimrc_background | 328 | source ~/.vimrc_background |
329 | set background=light | ||
328 | else | 330 | else |
329 | colorscheme base16-phd | 331 | colorscheme base16-phd |
332 | set background=dark | ||
330 | endif | 333 | endif |
331 | " colorscheme base16-embers | 334 | " colorscheme base16-embers |
332 | " colorscheme base16-flat | 335 | " colorscheme base16-flat |