From 321ecaca67426410316db7db05e6e33809fe1e63 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Fri, 19 Oct 2012 15:09:38 -0500 Subject: Add powerline --- vim/autoload/Powerline/Segments/fugitive.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vim/autoload/Powerline/Segments/fugitive.vim (limited to 'vim/autoload/Powerline/Segments/fugitive.vim') diff --git a/vim/autoload/Powerline/Segments/fugitive.vim b/vim/autoload/Powerline/Segments/fugitive.vim new file mode 100644 index 0000000..297556b --- /dev/null +++ b/vim/autoload/Powerline/Segments/fugitive.vim @@ -0,0 +1,5 @@ +let g:Powerline#Segments#fugitive#segments = Pl#Segment#Init('fugitive', + \ (exists('g:loaded_fugitive') && g:loaded_fugitive == 1), + \ + \ Pl#Segment#Create('branch', '%{Powerline#Functions#fugitive#GetBranch("$BRANCH")}') +\ ) -- cgit