diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-06-19 16:41:15 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-06-22 11:30:23 +0200 |
commit | e78540990496cb3f4ff611c680b005022d9d2fad (patch) | |
tree | 98e1c0bce1b5bbb80be5beeb98f5bcb6ee70ee44 /doc/aerc-config.5.scd | |
parent | 7aa71d334b2755cc5e92fcf83398ce65ede45b40 (diff) | |
download | aerc-e78540990496cb3f4ff611c680b005022d9d2fad.tar.gz |
binds: add folder context for message list binds
Add option to specify folder-specific binds for message lists. The binds
are layered: any existing binds in [messages] are overwritten by a more
specific bind in say, [messages:folder=Drafts]. The order is currently:
[messages] < [messages:account=<account>] < [messages:folder=<folder>]
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc-config.5.scd')
-rw-r--r-- | doc/aerc-config.5.scd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 47ae7526..9f61b94b 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -701,12 +701,22 @@ You may also configure account specific key bindings for each context: keybindings for this context and account, where <AccountName> matches the account name you provided in *accounts.conf*. +Folder-specific bindings can be configured for message lists: + +*[messages:folder=<FolderName>]* + keybindings under this section will be specific to the folder named + <FolderName>. Keybindings from a *folder* specifier will take precedence + over *account* specifiers + Example: ``` [messages:account=Mailbox] c = :cf path:mailbox/** and<space> [compose::editor:account=Mailbox2] + +[messages:folder=Drafts] +<Enter> = :recall<Enter> ... ``` |