vim/bundle/powerline-theme/powerline/sjl/50-gundo.vim @ c3c04b36fd0b

Moar.
author Steve Losh <steve@stevelosh.com>
date Thu, 26 Jan 2012 12:03:14 -0500
parents 4a5142cfb33c
children (none)
call Pl#Statusline(
	\ Pl#Match('bufname("%")', '__Gundo__'),
	\
	\ Pl#Segment(' %{"Gundo"} ',
		\ Pl#HiCurrent(   Pl#FG(231), Pl#BG(124), Pl#Attr('bold')),
		\ Pl#HiInsert(    Pl#FG(231), Pl#BG( 31), Pl#Attr('bold')),
		\ Pl#HiNonCurrent(Pl#FG(244), Pl#BG( 52), Pl#Attr('bold'))
		\ ),
	\
	\ Pl#Segment('%< %{"Undo tree"}',
		\ Pl#HiCurrent(   Pl#FG(231), Pl#BG( 88)),
		\ Pl#HiInsert(    Pl#FG(117), Pl#BG( 24)),
		\ Pl#HiNonCurrent(Pl#FG(244), Pl#BG( 52))
		\ ),
	\
	\ Pl#Split(
		\ Pl#HiCurrent(   Pl#BG( 88)),
		\ Pl#HiInsert(    Pl#BG( 24)),
		\ Pl#HiNonCurrent(Pl#BG( 52))
		\ )
	\ )

call Pl#Statusline(
	\ Pl#Match('bufname("%")', '__Gundo_Preview__'),
	\
	\ Pl#Segment(' %{"Gundo"} ',
		\ Pl#HiCurrent(   Pl#FG(231), Pl#BG(124), Pl#Attr('bold')),
		\ Pl#HiInsert(    Pl#FG(231), Pl#BG( 31), Pl#Attr('bold')),
		\ Pl#HiNonCurrent(Pl#FG(244), Pl#BG( 52), Pl#Attr('bold'))
		\ ),
	\
	\ Pl#Segment('%< %{"Diff preview"}',
		\ Pl#HiCurrent(   Pl#FG(231), Pl#BG( 88)),
		\ Pl#HiInsert(    Pl#FG(117), Pl#BG( 24)),
		\ Pl#HiNonCurrent(Pl#FG(244), Pl#BG( 52))
		\ ),
	\
	\ Pl#Split(
		\ Pl#HiCurrent(   Pl#BG( 88)),
		\ Pl#HiInsert(    Pl#BG( 24)),
		\ Pl#HiNonCurrent(Pl#BG( 52))
		\ )
	\ )