]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/autoload/Powerline/Colorschemes/default.vim
Add powerline
[rbdr/dotfiles] / vim / autoload / Powerline / Colorschemes / default.vim
CommitLineData
321ecaca
BB
1call Pl#Hi#Allocate({
2 \ 'black' : 16,
3 \ 'white' : 231,
4 \
5 \ 'darkestgreen' : 22,
6 \ 'darkgreen' : 28,
7 \ 'mediumgreen' : 70,
8 \ 'brightgreen' : 148,
9 \
10 \ 'darkestcyan' : 23,
11 \ 'mediumcyan' : 117,
12 \
13 \ 'darkestblue' : 24,
14 \ 'darkblue' : 31,
15 \
16 \ 'darkestred' : 52,
17 \ 'darkred' : 88,
18 \ 'mediumred' : 124,
19 \ 'brightred' : 160,
20 \ 'brightestred' : 196,
21 \
22 \ 'darkestpurple' : 55,
23 \ 'mediumpurple' : 98,
24 \ 'brightpurple' : 189,
25 \
26 \ 'brightorange' : 208,
27 \ 'brightestorange': 214,
28 \
29 \ 'gray0' : 233,
30 \ 'gray1' : 235,
31 \ 'gray2' : 236,
32 \ 'gray3' : 239,
33 \ 'gray4' : 240,
34 \ 'gray5' : 241,
35 \ 'gray6' : 244,
36 \ 'gray7' : 245,
37 \ 'gray8' : 247,
38 \ 'gray9' : 250,
39 \ 'gray10' : 252,
40 \ })
41
42let g:Powerline#Colorschemes#default#colorscheme = Pl#Colorscheme#Init([
43 \ Pl#Hi#Segments(['SPLIT'], {
44 \ 'n': ['white', 'gray2'],
45 \ 'N': ['white', 'gray0'],
46 \ 'i': ['white', 'darkestblue'],
47 \ }),
48 \
49 \ Pl#Hi#Segments(['mode_indicator'], {
50 \ 'n': ['darkestgreen', 'brightgreen', ['bold']],
51 \ 'i': ['darkestcyan', 'white', ['bold']],
52 \ 'v': ['darkred', 'brightorange', ['bold']],
53 \ 'r': ['white', 'brightred', ['bold']],
54 \ 's': ['white', 'gray5', ['bold']],
55 \ }),
56 \
57 \ Pl#Hi#Segments(['branch', 'scrollpercent', 'raw', 'filesize'], {
58 \ 'n': ['gray9', 'gray4'],
59 \ 'N': ['gray3', 'gray1'],
60 \ 'i': ['mediumcyan', 'darkblue'],
61 \ }),
62 \
63 \ Pl#Hi#Segments(['fileinfo', 'filename'], {
64 \ 'n': ['white', 'gray4', ['bold']],
65 \ 'N': ['gray7', 'gray1', ['bold']],
66 \ 'i': ['white', 'darkblue', ['bold']],
67 \ }),
68 \
69 \ Pl#Hi#Segments(['static_str'], {
70 \ 'n': ['white', 'gray4'],
71 \ 'N': ['gray7', 'gray1'],
72 \ 'i': ['white', 'darkblue'],
73 \ }),
74 \
75 \ Pl#Hi#Segments(['fileinfo.flags'], {
76 \ 'n': ['brightestred', ['bold']],
77 \ 'N': ['darkred'],
78 \ 'i': ['brightestred', ['bold']],
79 \ }),
80 \
81 \ Pl#Hi#Segments(['current_function', 'fileformat', 'fileencoding', 'pwd', 'filetype', 'rvm:string', 'rvm:statusline', 'virtualenv:statusline', 'charcode', 'currhigroup'], {
82 \ 'n': ['gray8', 'gray2'],
83 \ 'i': ['mediumcyan', 'darkestblue'],
84 \ }),
85 \
86 \ Pl#Hi#Segments(['lineinfo'], {
87 \ 'n': ['gray2', 'gray10', ['bold']],
88 \ 'N': ['gray7', 'gray1', ['bold']],
89 \ 'i': ['darkestcyan', 'mediumcyan', ['bold']],
90 \ }),
91 \
92 \ Pl#Hi#Segments(['errors'], {
93 \ 'n': ['brightestorange', 'gray2', ['bold']],
94 \ 'i': ['brightestorange', 'darkestblue', ['bold']],
95 \ }),
96 \
97 \ Pl#Hi#Segments(['lineinfo.line.tot'], {
98 \ 'n': ['gray6'],
99 \ 'N': ['gray5'],
100 \ 'i': ['darkestcyan'],
101 \ }),
102 \
103 \ Pl#Hi#Segments(['ws_marker'], {
104 \ 'n': ['white', 'brightestred'],
105 \ 'i': ['darkestcyan', 'white'],
106 \ }),
107 \
108 \ Pl#Hi#Segments(['gundo:static_str.name', 'command_t:static_str.name'], {
109 \ 'n': ['white', 'mediumred', ['bold']],
110 \ 'N': ['brightred', 'darkestred', ['bold']],
111 \ }),
112 \
113 \ Pl#Hi#Segments(['gundo:static_str.buffer', 'command_t:raw.line'], {
114 \ 'n': ['white', 'darkred'],
115 \ 'N': ['brightred', 'darkestred'],
116 \ }),
117 \
118 \ Pl#Hi#Segments(['gundo:SPLIT', 'command_t:SPLIT'], {
119 \ 'n': ['white', 'darkred'],
120 \ 'N': ['white', 'darkestred'],
121 \ }),
122 \
123 \ Pl#Hi#Segments(['lustyexplorer:static_str.name', 'minibufexplorer.static_str.name', 'nerdtree:raw.name', 'tagbar:static_str.name'], {
124 \ 'n': ['white', 'mediumgreen', ['bold']],
125 \ 'N': ['mediumgreen', 'darkestgreen', ['bold']],
126 \ }),
127 \
128 \ Pl#Hi#Segments(['lustyexplorer:static_str.buffer', 'tagbar:static_str.buffer'], {
129 \ 'n': ['brightgreen', 'darkgreen'],
130 \ 'N': ['mediumgreen', 'darkestgreen'],
131 \ }),
132 \
133 \ Pl#Hi#Segments(['lustyexplorer:SPLIT', 'minibufexplorer:SPLIT', 'nerdtree:SPLIT', 'tagbar:SPLIT'], {
134 \ 'n': ['white', 'darkgreen'],
135 \ 'N': ['white', 'darkestgreen'],
136 \ }),
137 \
138 \ Pl#Hi#Segments(['ctrlp:focus', 'ctrlp:byfname'], {
139 \ 'n': ['brightpurple', 'darkestpurple'],
140 \ }),
141 \
142 \ Pl#Hi#Segments(['ctrlp:prev', 'ctrlp:next', 'ctrlp:pwd'], {
143 \ 'n': ['white', 'mediumpurple'],
144 \ }),
145 \
146 \ Pl#Hi#Segments(['ctrlp:item'], {
147 \ 'n': ['darkestpurple', 'white', ['bold']],
148 \ }),
149 \
150 \ Pl#Hi#Segments(['ctrlp:marked'], {
151 \ 'n': ['brightestred', 'darkestpurple', ['bold']],
152 \ }),
153 \
154 \ Pl#Hi#Segments(['ctrlp:count'], {
155 \ 'n': ['darkestpurple', 'white'],
156 \ }),
157 \
158 \ Pl#Hi#Segments(['ctrlp:SPLIT'], {
159 \ 'n': ['white', 'darkestpurple'],
160 \ }),
161 \ ])