aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/Powerline/Segments/ctrlp.vim
diff options
context:
space:
mode:
authorBen Beltran <ben@freshout.us>2012-10-19 15:09:38 -0500
committerBen Beltran <ben@freshout.us>2012-10-19 15:09:38 -0500
commit321ecaca67426410316db7db05e6e33809fe1e63 (patch)
tree3811f15c160c6593e84ebfab3994c810a0eeeda5 /vim/autoload/Powerline/Segments/ctrlp.vim
parent9041bd938fcce0cf91032c67d529bc21fedeeed3 (diff)
Add powerline
Diffstat (limited to 'vim/autoload/Powerline/Segments/ctrlp.vim')
-rw-r--r--vim/autoload/Powerline/Segments/ctrlp.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/autoload/Powerline/Segments/ctrlp.vim b/vim/autoload/Powerline/Segments/ctrlp.vim
new file mode 100644
index 0000000..bab5193
--- /dev/null
+++ b/vim/autoload/Powerline/Segments/ctrlp.vim
@@ -0,0 +1,10 @@
+let g:Powerline#Segments#ctrlp#segments = Pl#Segment#Init('ctrlp'
+ \ , Pl#Segment#Create('focus', '%{"%0"}')
+ \ , Pl#Segment#Create('byfname', '%{"%1"}')
+ \ , Pl#Segment#Create('prev', '%-3{"%3"}')
+ \ , Pl#Segment#Create('item', '%-9{"%4"}')
+ \ , Pl#Segment#Create('next', '%-3{"%5"}')
+ \ , Pl#Segment#Create('marked', '%{"%6" == " <+>" ? "" : strpart("%6", 2, len("%6") - 3)}')
+ \
+ \ , Pl#Segment#Create('count', '%-6{"%0"}')
+\ )