Mercurial > dotfiles.old
changeset 131:ccee6e9f0c1d
fix colors in terminal vim
author | zegervdv <zegervdv@me.com> |
---|---|
date | Thu, 02 Oct 2014 08:20:44 +0200 |
parents | 212e7e98554d |
children | 1c8c96f5f810 |
files | vimrc |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vimrc Wed Oct 01 08:43:33 2014 +0200 +++ b/vimrc Thu Oct 02 08:20:44 2014 +0200 @@ -34,6 +34,7 @@ " color base16-ocean color Tomorrow-Night else + set background=dark color Tomorrow-Night endif set guifont=Inconsolata\ for\ Powerline:h12 @@ -414,8 +415,11 @@ let g:airline_left_sep = '' let g:airline_right_sep = '' -let g:airline_theme = 'base16' - +if has("gui_running") + let g:airline_theme = 'base16' +else + let g:airline_theme = 'tomorrow' +endif let g:airline#extensions#syntastic#enabled = 1 " }}} " Unite {{{