summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-04-21 14:21:38 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-04-21 14:21:38 +0100
commit750e9a5d58c2719a87f931eb5bcc505d382cb6c7 (patch)
tree9382cbac731493d0beeca31dd1364fc08adc4821 /vim/.vimrc
parentcc6813cff722f2c6d65bd6aafc2da909f3b867ca (diff)
Add tomorrow theme and improve script
Diffstat (limited to 'vim/.vimrc')
-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