]>
Commit | Line | Data |
---|---|---|
1 | let g:Powerline#Themes#default#theme = Pl#Theme#Create( | |
2 | \ Pl#Theme#Buffer('' | |
3 | \ , 'mode_indicator' | |
4 | \ , 'fugitive:branch' | |
5 | \ , 'fileinfo' | |
6 | \ , 'syntastic:errors' | |
7 | \ , Pl#Segment#Truncate() | |
8 | \ , 'cfi:current_function' | |
9 | \ , Pl#Segment#Split() | |
10 | \ , 'rvm:string' | |
11 | \ , 'virtualenv:statusline' | |
12 | \ , 'fileformat' | |
13 | \ , 'fileencoding' | |
14 | \ , 'filetype' | |
15 | \ , 'scrollpercent' | |
16 | \ , 'lineinfo' | |
17 | \ ), | |
18 | \ | |
19 | \ Pl#Theme#Buffer('command_t' | |
20 | \ , ['static_str.name', 'Command-T'] | |
21 | \ , Pl#Segment#Truncate() | |
22 | \ , Pl#Segment#Split() | |
23 | \ , ['raw.line', '%10(Match #%l%)'] | |
24 | \ ), | |
25 | \ | |
26 | \ Pl#Theme#Buffer('gundo', Pl#Match#Any('gundo_tree') | |
27 | \ , ['static_str.name', 'Gundo'] | |
28 | \ , ['static_str.buffer', 'Undo tree'] | |
29 | \ , Pl#Segment#Truncate() | |
30 | \ , Pl#Segment#Split() | |
31 | \ ), | |
32 | \ | |
33 | \ Pl#Theme#Buffer('gundo', Pl#Match#Any('gundo_preview') | |
34 | \ , ['static_str.name', 'Gundo'] | |
35 | \ , ['static_str.buffer', 'Diff preview'] | |
36 | \ , Pl#Segment#Truncate() | |
37 | \ , Pl#Segment#Split() | |
38 | \ ), | |
39 | \ | |
40 | \ Pl#Theme#Buffer('ft_help' | |
41 | \ , ['static_str.name', 'Help'] | |
42 | \ , 'filename' | |
43 | \ , Pl#Segment#Truncate() | |
44 | \ , Pl#Segment#Split() | |
45 | \ , 'scrollpercent' | |
46 | \ ), | |
47 | \ | |
48 | \ Pl#Theme#Buffer('ft_vimpager' | |
49 | \ , ['static_str.name', 'Pager'] | |
50 | \ , 'filename' | |
51 | \ , Pl#Segment#Truncate() | |
52 | \ , Pl#Segment#Split() | |
53 | \ , 'scrollpercent' | |
54 | \ ), | |
55 | \ | |
56 | \ Pl#Theme#Buffer('lustyexplorer' | |
57 | \ , ['static_str.name', 'LustyExplorer'] | |
58 | \ , ['static_str.buffer', 'Buffer list'] | |
59 | \ , Pl#Segment#Truncate() | |
60 | \ , Pl#Segment#Split() | |
61 | \ ), | |
62 | \ | |
63 | \ Pl#Theme#Buffer('ft_man' | |
64 | \ , ['static_str.name', 'Man page'] | |
65 | \ , 'filename' | |
66 | \ , Pl#Segment#Truncate() | |
67 | \ , Pl#Segment#Split() | |
68 | \ , 'scrollpercent' | |
69 | \ ), | |
70 | \ | |
71 | \ Pl#Theme#Buffer('minibufexplorer' | |
72 | \ , ['static_str.name', 'MiniBufExplorer'] | |
73 | \ , Pl#Segment#Truncate() | |
74 | \ , Pl#Segment#Split() | |
75 | \ ), | |
76 | \ | |
77 | \ Pl#Theme#Buffer('ft_qf' | |
78 | \ , ['static_str.name', 'Quickfix'] | |
79 | \ , Pl#Segment#Truncate() | |
80 | \ , Pl#Segment#Split() | |
81 | \ ), | |
82 | \ | |
83 | \ Pl#Theme#Buffer('tagbar' | |
84 | \ , ['static_str.name', 'Tagbar'] | |
85 | \ , ['static_str.buffer', 'Tree'] | |
86 | \ , Pl#Segment#Truncate() | |
87 | \ , Pl#Segment#Split() | |
88 | \ ), | |
89 | \ | |
90 | \ 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"') | |
91 | \ , 'ctrlp:prev' | |
92 | \ , 'ctrlp:item' | |
93 | \ , 'ctrlp:next' | |
94 | \ , 'ctrlp:marked' | |
95 | \ , Pl#Segment#Truncate() | |
96 | \ , Pl#Segment#Split() | |
97 | \ , 'ctrlp:focus' | |
98 | \ , 'ctrlp:byfname' | |
99 | \ , 'pwd' | |
100 | \ ), | |
101 | \ | |
102 | \ 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"') | |
103 | \ , 'ctrlp:count' | |
104 | \ , Pl#Segment#Truncate() | |
105 | \ , Pl#Segment#Split() | |
106 | \ , 'pwd' | |
107 | \ ), | |
108 | \ | |
109 | \ Pl#Theme#Buffer('nerdtree' | |
110 | \ , ['raw.name', '%{expand("%:p:h")}'] | |
111 | \ , Pl#Segment#Truncate() | |
112 | \ , Pl#Segment#Split() | |
113 | \ ) | |
114 | \ ) |