NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
config.c File Reference

Config used by libsidebar. More...

#include "config.h"
#include <stddef.h>
#include <config/lib.h>
#include <mutt/lib.h>
#include <stdbool.h>
+ Include dependency graph for config.c:

Go to the source code of this file.


bool config_init_sidebar (struct ConfigSet *cs)
 Register sidebar config variables - Implements module_init_config_t -. More...


const struct Mapping SortSidebarMethods []
 Sort methods for the sidebar. More...
static struct ConfigDef SidebarVars []

Detailed Description

Config used by libsidebar.

  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Definition in file config.c.

Variable Documentation

◆ SortSidebarMethods

const struct Mapping SortSidebarMethods[]
Initial value:
= {
{ "path", SORT_PATH },
{ "alpha", SORT_PATH },
{ "name", SORT_PATH },
{ "count", SORT_COUNT },
{ "desc", SORT_DESC },
{ "flagged", SORT_FLAGGED },
{ "unsorted", SORT_ORDER },
{ "mailbox-order", SORT_ORDER },
{ "new", SORT_UNREAD },
{ "unread", SORT_UNREAD },
{ NULL, 0 },
Sort by the number of flagged emails.
Definition: sort2.h:60
Sort by the folder&#39;s path.
Definition: sort2.h:61
Sort by the order the messages appear in the mailbox.
Definition: sort2.h:48
Sort by the number of unread emails.
Definition: sort2.h:59
Sort by the folder&#39;s description.
Definition: sort2.h:63
Sort by number of emails in a folder.
Definition: sort2.h:58

Sort methods for the sidebar.

Definition at line 38 of file config.c.

◆ SidebarVars

struct ConfigDef SidebarVars[]

Definition at line 54 of file config.c.