-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsummer.yaml
148 lines (120 loc) · 4.12 KB
/
summer.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# Configuration file for Summer.
#
# This is a reference file. Use it to build your own settings.
# List of columns to build the summary of the directory.
#
columns:
- matchers: [ any ]
# If `false`, always ignore hidden files,
# include_hidden: false
# Label for the column.
#
# label (optional):
# Maximum width of the column. Overrides the value at `grid.max_name_width`.
#
# max_name_width:
# List of matchers for files to include in the column. The file is included in
# the column is any of the matchers is successful.
#
# Valid matchers:
#
# - any Matches any file
# - all: [] Matches a file if all matchers are successful.
# - changes: "git" Matches a file if it has changes since the last
# commit in a Git repository.
# - changes: "duration" Matches a file if it has modified in the time
# specified by "duration"
# - glob: [] Matches using a pattern or a list of patterns.
# - mime: "type" Matches by MIME types (according to file name
# extension).
# - regex: "re" Matches a file name against a regular expression.
# - type: "type" Matches by file type. "type" can be any of blockdev,
# chardev, directory, executable, file, fifo, socket,
# or symlink.
#
# matchers: []
# Filters to exclude files from this column. Use the same options from the
# `matchers` key.
#
# exclude: []
# Styles to apply to all files in this column.
#
# color:
# If `true`, files with changes in the Git repository will appear before other
# files.
#
# git_changes_first: true
# Indicates how to sort rows in this column. The first word is the sort key,
# which can be one of name, size, modification_time, or version. The second
# (optional) word can be either "asc" or "desc".
#
# sort: "name asc"
# info:
# Content for the left side of the header. Can be a single string, or ab
# object with `text` and `color` fields.
#
# The following specifiers can be used in the content:
#
# %% Literal '%'.
# %P Path.
# %p Path, and replace '$HOME' with '~'.
# %S Disk usage.
# %+ Added lines (from git diff).
# %- Deleted lines (from git diff).
# %C{…} Color.
# %V{…} Variable.
#
# left:
# Like the `left` field, but for the right side of the header.
#
# right:
# Like `left`, but adding the content as an extra column.
#
# column:
# A map to define variables to be used with %V{…}. Every variable defines a
# list of matchers, and its value is the number of files that match any of the
# matchers.
#
# variables:
# colors:
# Coloring: auto, always, never.
# when: auto
# `true` if $LS_COLORS should be used to define colors for files.
#
# If its value is a string, it defines the environment variable to read.
# use_lscolors: true
# Style for the column labels.
# column_label: bold
# Style for the ellipsis printed when a file name is truncated.
# name_ellipsis: red
# Style for the "+X entries" row when a column is truncated.
# more_entries: italic
# Style for the number of added lines to a file.
# diff_added: green
# Style for the number of deleted lines to a file.
# diff_deleted: red
# List of styles for file patterns.
# styles:
# - matchers: []
# color: (optional) ""
# indicator: (optional)
# text:
# color:
# List of file paths to load more styles.
# style_files: []
# grid:
# Maximum number of rows for any column. If a column contains more rows, its
# content is truncated.
# max_rows: 1
# Maximum width (in terminal columns) for the file names. If a file name
# exceeds this width, it is truncated.
# max_name_width: 1
# Spaces between each column.
# column_padding: 4
# collector:
# `true` if Summer must compute the disk used by subdirectories.
# disk_usage: true
# `true` if Summer must read diff stats from git.
# git_diff: true
# Timeout for the collector processes.
# timeout: 500 ms