From cffa2365be267ca2b243eee0cbb40593c0e01a3d Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Tue, 2 Jul 2019 23:14:43 -0400 Subject: Document message index format specifiers --- doc/aerc-config.5.scd | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'doc/aerc-config.5.scd') diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 8e0e056..db69aff 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -36,10 +36,45 @@ These options are configured in the *[ui]* section of aerc.conf. *index-format* Describes the format for each row in a mailbox view. This field is - compatible with mutt's printf-like syntax. TODO: document properly + compatible with mutt's printf-like syntax. Default: %D %-17.17n %s +[- *Format specifier* +:[ *Description* +| %% +: literal % +| %a +: sender address +| %A +: reply-to address, or sender address if none +| %C +: message number +| %d +: formatted message timestamp +| %D +: formatted message timestamp converted to local timezone +| %f +: sender name and address +| %F +: sender name, or sender address if none +| %i +: message id +| %n +: same as %F +| %r +: comma-separated list of formatted recipient names and addresses +| %R +: comma-separated list of formatted CC names and addresses +| %s +: subject +| %u +: sender mailbox name (e.g. "smith" in "smith@example.net") +| %v +: sender first name (e.g. "Alex" in "Alex Smith ") +| %Z +: flags (O=old, N=new, r=answered, D=deleted, !=flagged) + *timestamp-format* See time.Time#Format at https://godoc.org/time#Time.Format -- cgit 1.4.1-2-gfad0