aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-02-21 00:18:42 +0100
committerRobin Jarry <robin@jarry.cc>2022-02-23 21:09:01 +0100
commit454606a9cd85923cc98e4d43ea8b8972de6a5e9c (patch)
treeced698391543007f9ed1b3e752ee40a44a62a197 /config/config.go
parent5eac8d603e8807f7d4be58a4a7b03862a8c90df2 (diff)
downloadaerc-454606a9cd85923cc98e4d43ea8b8972de6a5e9c.tar.gz
dirtree: implement foldable tree for directory list
implement a foldable tree for the directory list. Expand all parent directories when a hidden directory is selected with the change-folder command. folders-sort considers the top-level directories only. The folders and foldersexclude filters work with the full directory path. Enable tree view by adding 'dirlist-tree=true' to the config file. Implements: https://todo.sr.ht/~sircmpwn/aerc2/228 Signed-off-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index f730fe45..d2512d2f 100644
--- a/config/config.go
+++ b/config/config.go
@@ -49,6 +49,7 @@ type UIConfig struct {
SpinnerDelimiter string `ini:"spinner-delimiter"`
DirListFormat string `ini:"dirlist-format"`
DirListDelay time.Duration `ini:"dirlist-delay"`
+ DirListTree bool `ini:"dirlist-tree"`
Sort []string `delim:" "`
NextMessageOnDelete bool `ini:"next-message-on-delete"`
CompletionDelay time.Duration `ini:"completion-delay"`