summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc17
1 files changed, 5 insertions, 12 deletions
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