aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf6
-rw-r--r--config/config.go1
2 files changed, 7 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 7a5e4238..631a5667 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -81,6 +81,12 @@ dirlist-format=%n %>r
# Default: 200ms
dirlist-delay=200ms
+# Display the directory list as a foldable tree that allows to collapse and
+# expand the folders.
+#
+# Default: false
+dirlist-tree=false
+
# List of space-separated criteria to sort the messages by, see *sort*
# command in *aerc*(1) for reference. Prefixing a criterion with "-r "
# reverses that criterion.
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"`