diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-04-21 14:21:38 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-04-21 14:21:38 +0100 |
commit | 750e9a5d58c2719a87f931eb5bcc505d382cb6c7 (patch) | |
tree | 9382cbac731493d0beeca31dd1364fc08adc4821 /vim/.vimrc | |
parent | cc6813cff722f2c6d65bd6aafc2da909f3b867ca (diff) |
Add tomorrow theme and improve script
Diffstat (limited to 'vim/.vimrc')
-rw-r--r-- | vim/.vimrc | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -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 |