aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/Powerline/Themes/default.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/Themes/default.vim
parent9041bd938fcce0cf91032c67d529bc21fedeeed3 (diff)
Add powerline
Diffstat (limited to 'vim/autoload/Powerline/Themes/default.vim')
-rw-r--r--vim/autoload/Powerline/Themes/default.vim114
1 files changed, 114 insertions, 0 deletions
diff --git a/vim/autoload/Powerline/Themes/default.vim b/vim/autoload/Powerline/Themes/default.vim
new file mode 100644
index 0000000..75106eb
--- /dev/null
+++ b/vim/autoload/Powerline/Themes/default.vim
@@ -0,0 +1,114 @@
+let g:Powerline#Themes#default#theme = Pl#Theme#Create(
+ \ Pl#Theme#Buffer(''
+ \ , 'mode_indicator'
+ \ , 'fugitive:branch'
+ \ , 'fileinfo'
+ \ , 'syntastic:errors'
+ \ , Pl#Segment#Truncate()
+ \ , 'cfi:current_function'
+ \ , Pl#Segment#Split()
+ \ , 'rvm:string'
+ \ , 'virtualenv:statusline'
+ \ , 'fileformat'
+ \ , 'fileencoding'
+ \ , 'filetype'
+ \ , 'scrollpercent'
+ \ , 'lineinfo'
+ \ ),
+ \
+ \ Pl#Theme#Buffer('command_t'
+ \ , ['static_str.name', 'Command-T']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ , ['raw.line', '%10(Match #%l%)']
+ \ ),
+ \
+ \ Pl#Theme#Buffer('gundo', Pl#Match#Any('gundo_tree')
+ \ , ['static_str.name', 'Gundo']
+ \ , ['static_str.buffer', 'Undo tree']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ ),
+ \
+ \ Pl#Theme#Buffer('gundo', Pl#Match#Any('gundo_preview')
+ \ , ['static_str.name', 'Gundo']
+ \ , ['static_str.buffer', 'Diff preview']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ ),
+ \
+ \ Pl#Theme#Buffer('ft_help'
+ \ , ['static_str.name', 'Help']
+ \ , 'filename'
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ , 'scrollpercent'
+ \ ),
+ \
+ \ Pl#Theme#Buffer('ft_vimpager'
+ \ , ['static_str.name', 'Pager']
+ \ , 'filename'
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ , 'scrollpercent'
+ \ ),
+ \
+ \ Pl#Theme#Buffer('lustyexplorer'
+ \ , ['static_str.name', 'LustyExplorer']
+ \ , ['static_str.buffer', 'Buffer list']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ ),
+ \
+ \ Pl#Theme#Buffer('ft_man'
+ \ , ['static_str.name', 'Man page']
+ \ , 'filename'
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ , 'scrollpercent'
+ \ ),
+ \
+ \ Pl#Theme#Buffer('minibufexplorer'
+ \ , ['static_str.name', 'MiniBufExplorer']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ ),
+ \
+ \ Pl#Theme#Buffer('ft_qf'
+ \ , ['static_str.name', 'Quickfix']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ ),
+ \
+ \ Pl#Theme#Buffer('tagbar'
+ \ , ['static_str.name', 'Tagbar']
+ \ , ['static_str.buffer', 'Tree']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ ),
+ \
+ \ Pl#Theme#Buffer('ctrlp', Pl#Theme#Callback('ctrlp_main', 'if ! exists("g:ctrlp_status_func") | let g:ctrlp_status_func = {} | endif | let g:ctrlp_status_func.main = "%s"')
+ \ , 'ctrlp:prev'
+ \ , 'ctrlp:item'
+ \ , 'ctrlp:next'
+ \ , 'ctrlp:marked'
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ , 'ctrlp:focus'
+ \ , 'ctrlp:byfname'
+ \ , 'pwd'
+ \ ),
+ \
+ \ Pl#Theme#Buffer('ctrlp', Pl#Theme#Callback('ctrlp_prog', 'if ! exists("g:ctrlp_status_func") | let g:ctrlp_status_func = {} | endif | let g:ctrlp_status_func.prog = "%s"')
+ \ , 'ctrlp:count'
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ , 'pwd'
+ \ ),
+ \
+ \ Pl#Theme#Buffer('nerdtree'
+ \ , ['raw.name', '%{expand("%:p:h")}']
+ \ , Pl#Segment#Truncate()
+ \ , Pl#Segment#Split()
+ \ )
+\ )