aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 06cfb2d1..1d5ffe8b 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -69,6 +69,14 @@
# All column-$name settings accept golang text/template syntax. See
# aerc-templates(7) for available template attributes and functions.
#
+# Here are some examples to show the To field instead of the From field for
+# an email (modifying column-name):
+#
+# 1. a generic one
+# column-name={{ .Peer | names | join ", " }}
+# 2. based upon the selected folder
+# column-name={{if match .Folder "^(Gesendet|Sent)$"}}{{index (.To | names) 0}}{{else}}{{index (.From | names) 0}}{{end}}
+#
# Default settings
#column-date={{.DateAutoFormat .Date.Local}}
#column-name={{index (.From | names) 0}}