greens : A green/red/yellow colorscheme
script karma |
Rating 29/18,
Downloaded by 3523 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Yuheng Xie |
|
script type |
color scheme |
|
description |
A green/red/yellow colorscheme. It looks OK with light or dark background, 8 or 256 colors terminal or GUI vim. And diff mode colors are easy to discern.
Set background=light or dark in your .vimrc or from vim cmdline will cause greens.vim to reload colorscheme. If you find vim fails to detect your terminal background, you may use this trick.
And also, greens.vim will not change your terminal's background color, you should set bg color in your terminal settings.
Following are screenshots of urxvt-256color with light(yellow,white) and dark(black) background, editing C++ source code and python source code in diff mode.
http://elefant.name/files/greens-light.png
http://elefant.name/files/greens-diff-light.png
http://elefant.name/files/greens-diff-white.png
http://elefant.name/files/greens-dark.png
http://elefant.name/files/greens-diff-dark.png
Note for bold fonts: If your terminal doesn't display bold fonts well, or you just don't like bold fonts, you may edit greens.vim's function s:Style(style) as below (comment out any style, directly return ""):
function! s:Style(style)
" if &t_Co < 256
return ""
" else
" return "cterm=" . a:style . " gui=" . a:style
" endif
endfunction |
|
install details |
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 44.220.184.63
|