]>
Commit | Line | Data |
---|---|---|
1 | { | |
2 | "segment_data": { | |
3 | "branch": { | |
4 | "before": " " | |
5 | }, | |
6 | "modified_indicator": { | |
7 | "args": { "text": "+" } | |
8 | }, | |
9 | "line_percent": { | |
10 | "args": { "gradient": true }, | |
11 | "after": "%" | |
12 | }, | |
13 | "line_current_symbol": { | |
14 | "contents": " " | |
15 | } | |
16 | }, | |
17 | "segments": { | |
18 | "left": [ | |
19 | { | |
20 | "name": "mode", | |
21 | "exclude_modes": ["nc"] | |
22 | }, | |
23 | { | |
24 | "name": "paste_indicator", | |
25 | "exclude_modes": ["nc"], | |
26 | "priority": 10 | |
27 | }, | |
28 | { | |
29 | "name": "branch", | |
30 | "exclude_modes": ["nc"], | |
31 | "priority": 30 | |
32 | }, | |
33 | { | |
34 | "name": "readonly_indicator", | |
35 | "draw_soft_divider": false, | |
36 | "after": " " | |
37 | }, | |
38 | { | |
39 | "name": "file_directory", | |
40 | "priority": 40, | |
41 | "draw_soft_divider": false | |
42 | }, | |
43 | { | |
44 | "name": "file_name", | |
45 | "draw_soft_divider": false | |
46 | }, | |
47 | { | |
48 | "name": "file_vcs_status", | |
49 | "before": " ", | |
50 | "draw_soft_divider": false | |
51 | }, | |
52 | { | |
53 | "name": "modified_indicator", | |
54 | "before": " " | |
55 | }, | |
56 | { | |
57 | "type": "string", | |
58 | "highlight_group": ["background"], | |
59 | "draw_soft_divider": false, | |
60 | "draw_hard_divider": false, | |
61 | "width": "auto" | |
62 | } | |
63 | ], | |
64 | "right": [ | |
65 | { | |
66 | "name": "file_format", | |
67 | "draw_soft_divider": false, | |
68 | "exclude_modes": ["nc"], | |
69 | "priority": 60 | |
70 | }, | |
71 | { | |
72 | "name": "file_encoding", | |
73 | "exclude_modes": ["nc"], | |
74 | "priority": 60 | |
75 | }, | |
76 | { | |
77 | "name": "file_type", | |
78 | "exclude_modes": ["nc"], | |
79 | "priority": 60 | |
80 | }, | |
81 | { | |
82 | "name": "line_percent", | |
83 | "priority": 50, | |
84 | "width": 4, | |
85 | "align": "r" | |
86 | }, | |
87 | { | |
88 | "type": "string", | |
89 | "name": "line_current_symbol", | |
90 | "highlight_group": ["line_current_symbol", "line_current"] | |
91 | }, | |
92 | { | |
93 | "name": "line_current", | |
94 | "draw_soft_divider": false, | |
95 | "width": 3, | |
96 | "align": "r" | |
97 | }, | |
98 | { | |
99 | "name": "virtcol_current", | |
100 | "draw_soft_divider": false, | |
101 | "priority": 20, | |
102 | "before": ":", | |
103 | "width": 3, | |
104 | "align": "l" | |
105 | } | |
106 | ] | |
107 | } | |
108 | } |