virtual-mailboxes <description> <uri> [ ...]
This command specifies one or more virtual folder. The folders are
- accessioble by command 'X'.
+ accessible by command 'X'. It's possible to use the virtual mailbox
+ description as a sort key (e.g set sort_sidebar=desc)
example:
# sidebar
set sidebar_width = 35
set sidebar_visible = yes
+ set sort_sidebar = unsorted
color sidebar_new yellow default
bind index <left> sidebar-prev
bind index <right> sidebar-next
{ "sort_re", DT_BOOL, R_INDEX|R_RESORT|R_RESORT_INIT, OPTSORTRE, 1 },
/*
** .pp
- ** This variable is only useful when sorting by threads with
- ** $$strict_threads \fIunset\fP. In that case, it changes the heuristic
- ** mutt uses to thread messages by subject. With $$sort_re \fIset\fP, mutt will
- ** only attach a message as the child of another message by subject if
- ** the subject of the child message starts with a substring matching the
- ** setting of $$reply_regexp. With $$sort_re \fIunset\fP, mutt will attach
- ** the message whether or not this is the case, as long as the
- ** non-$$reply_regexp parts of both messages are identical.
+ ** This variable is only useful when sorting by mailboxes in sidebar. By default,
+ ** entries are unsorted. Valid values:
+ ** .il
+ ** .dd count (all message count)
+ ** .dd desc (virtual mailbox description)
+ ** .dd new (new message count)
+ ** .dd path
+ ** .dd unsorted
+ ** .ie
*/
{ "spam_separator", DT_STR, R_NONE, UL &SpamSep, UL "," },
/*
const struct mapping_t SortSidebarMethods[] = {
{ "count", SORT_COUNT },
+ { "desc", SORT_DESC },
{ "flagged", SORT_FLAGGED },
{ "new", SORT_COUNT_NEW },
{ "path", SORT_PATH },