Skip to content

Commit 00f028d

Browse files
committed
Update README
1 parent 0646167 commit 00f028d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,30 @@ The basic key bindings are as follows:
8181

8282
Detailed operations on each view can be displayed by pressing `?` key.
8383

84+
### Config
85+
86+
If the `DDV_CONFIG` environment variable specifies the path to the config file, the config will be loaded.
87+
88+
The config file uses the following format:
89+
90+
```toml
91+
[ui.table_list]
92+
# The width of the table list.
93+
# type: u16
94+
list_width = 30
95+
96+
[ui.table]
97+
# The maximum column width for each attributes.
98+
# type: u16
99+
max_attribute_width = 30
100+
# The maximum width of the expansion.
101+
# type: u16
102+
max_expand_width = 35
103+
# The maximum height of the expansion.
104+
# type: u16
105+
max_expand_height = 6
106+
```
107+
84108
## Screenshots
85109

86110
<img src="./img/table-list-list.png" width=400> <img src="./img/table-list-detail-kv.png" width=400> <img src="./img/table-list-detail-json.png" width=400> <img src="./img/table.png" width=400> <img src="./img/table-expand-attr.png" width=400> <img src="./img/item-kv.png" width=400> <img src="./img/item-plain-json.png" width=400> <img src="./img/item-raw-json.png" width=400> <img src="./img/table-insight.png" width=400>

0 commit comments

Comments
 (0)