diff options
author | Corey Minyard <cminyard@mvista.com> | 2019-01-31 17:57:57 -0600 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-01-31 18:11:07 -0800 |
commit | dad0eb255fddbef5f14772b85b32acf6f2ca7996 (patch) | |
tree | e618a6b819d98d87725228a82ec08d9375d0a0b5 /functions.h | |
parent | f0be14c20fc4c4101259b786fbcdbd25b7f20e9f (diff) |
Allow descending into maildir and mh directories in file browser
Some (maybe most) IMAP mail systems allow folders to be nested inside
folders, so you can have, say, an Inbox with more folders inside it.
However, in the file browser, mutt will only open a maildir/mh
directory as a mailbox, there is no way to get to the child mailboxes.
This change adds a function <descend-directory> that forces mutt to
descend into the directory. It is unbound by default.
Signed-off-by: Corey Minyard <minyard@acm.org>
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 33f3a07b..d3ac06b7 100644 --- a/functions.h +++ b/functions.h @@ -403,6 +403,7 @@ const struct binding_t OpAlias[] = { /* map: alias */ /* The file browser */ const struct binding_t OpBrowser[] = { /* map: browser */ { "change-dir", OP_CHANGE_DIRECTORY, "c" }, + { "descend-directory", OP_DESCEND_DIRECTORY, NULL }, { "display-filename", OP_BROWSER_TELL, "@" }, { "enter-mask", OP_ENTER_MASK, "m" }, { "sort", OP_SORT, "o" }, |