From 750e9a5d58c2719a87f931eb5bcc505d382cb6c7 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 21 Apr 2016 14:21:38 +0100 Subject: Add tomorrow theme and improve script --- vim/.vimrc | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 0132d45..d084e70 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -130,6 +130,7 @@ Plug 'troydm/zoomwintab.vim' Plug 'vim-scripts/gmsh.vim' Plug 'holomorph/vim-freefem' Plug 'nanotech/jellybeans.vim' +Plug 'chriskempson/vim-tomorrow-theme' if has("nvim") Plug 'benekastah/neomake' @@ -231,19 +232,11 @@ au BufNewFile,BufRead *.edp comp freefem au BufNewFile,BufRead *.geo setf gmsh " Colorscheme -if $COLORSCHEME=="light" - silent! colo solarized - set background=light -elseif $COLORSCHEME=="dark" - silent! colo solarized - set background=dark -elseif $COLORSCHEME=="seoul" - silent! colo seoul256 -elseif $COLORSCHEME=="molokai" - silent! colo molokai -else - silent! colo solarized +silent! colo $COLORSCHEME +if $BACKGROUND=="dark" set background=dark +elseif $BACKGROUND=="light" + set background=light endif highlight Comment cterm=italic -- cgit v1.2.3