about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorMichele Finotto <m@finotto.org>2019-12-03 20:20:21 +0100
committerDrew DeVault <sir@cmpwn.com>2019-12-09 12:42:40 -0500
commitdfe58842b967e2951604b631b89dfd61117745ec (patch)
treea88fc85be9611de781ee4a1aa411c9254d2d167d /doc
parent2559ebfac56a8060c8af001ba61709f3c4d78d04 (diff)
downloadaerc-dfe58842b967e2951604b631b89dfd61117745ec.tar.gz
Add custom sorting for folders
A new config options for accounts.conf (folders-sort) was added to
allow a user to choose which folders should be shown on top.
My use case was to avoid stepping into heavy, but rarely viewed folders
when cycling through other often accessed ones.

To test add this to your account.conf:

folders-sort  = INBOX,Sent,Archive

INBOX, Sent and Archive should then show at the top of your dirlist,
and all other folders should come next in alphabetical order.
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-config.5.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index 02fe4d6..2eb04f1 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -301,6 +301,12 @@ Note that many of these configuration options are written for you, such as
 
 	Default: all folders
 
+*folders-sort*
+	Specifies a comma separated list of folders to be shown at the top of the
+	list in the provided order. Remaining folders will be sorted alphabetically.
+
+	Default: none
+
 *from*
 	The default value to use for the From header in new emails. This should be
 	an RFC 5322-compatible string, such as "Your Name <you@example.org>".