aboutsummaryrefslogtreecommitdiffstats
path: root/config/aerc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/aerc.conf')
-rw-r--r--config/aerc.conf37
1 files changed, 32 insertions, 5 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 05ebbf41..1ce4810e 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -40,11 +40,38 @@
[ui]
#
-# Describes the format for each row in a mailbox view. This field is compatible
-# with mutt's printf-like syntax.
-#
-# Default: %-20.20D %-17.17n %Z %s
-#index-format=%-20.20D %-17.17n %Z %s
+# Describes the format for each row in a mailbox view. This is a comma
+# separated list of column names with an optional align and width suffix. After
+# the column name, one of the '<' (left), ':' (center) or '>' (right) alignment
+# characters can be added (by default, left) followed by an optional width
+# specifier. The width is either an integer representing a fixed number of
+# characters, or a percentage between 1% and 99% representing a fraction of the
+# terminal width. It can also be one of the '*' (auto) or '=' (fit) special
+# width specifiers. Auto width columns will be equally attributed the remaining
+# terminal width. Fit width columns take the width of their contents. If no
+# width specifier is set, '*' is used by default.
+#
+# Default: date<20,name<17,flags>4,subject<*
+#index-columns=date<20,name<17,flags>4,subject<*
+
+#
+# Each name in index-columns must have a corresponding column-$name setting.
+# All column-$name settings accept golang text/template syntax. See
+# aerc-templates(7) for available template attributes and functions.
+#
+# Default settings
+#column-date={{.DateAutoFormat .Date.Local}}
+#column-name={{index (.From | names) 0}}
+#column-flags={{.Flags | join ""}}
+#column-subject={{.Subject}}
+
+#
+# String separator inserted between columns. When the column width specifier is
+# an exact number of characters, the separator is added to it (i.e. the exact
+# width will be fully available for the column contents).
+#
+# Default: " "
+#column-separator=" "
#
# See time.Time#Format at https://godoc.org/time#Time.Format