Colors lines in different intensities according to their age in git's history
:GitShade to shade the file, and again to turn it off.
This works best in Vim's gui mode, but there is now support for 8, 16 and 256 terminal colour mode too.
Some possible options (see the plugin file for more):
let g:GitShade_ColorGradient = "black_to_blue" let g:GitShade_ColorWhat = "bg" let g:GitShade_ColorGradient = "green_to_white" let g:GitShade_ColorWhat = "fg" " Use grays instead of blues in 256-color terminal: let g:GitShade_Colors_For_CTerm_256 = [ 0, 232, 233, 234, 235, 236, 237, 238, 239 ]
In the screenshots below, the brighter blue background indicates a more recent addition.
let g:GitShade_Linear = 0 the recent additions stand out clearly:
let g:GitShade_Linear = 1 we can see the relative ages of all lines in the file:
- May 2014: Support (with limited colors) for 8, 16 and 256-color terminals. (Vim's
t_Cooption should be set appropriately.)
- June 2013: Committer name, date and message for current line is now displayed in command line area.