aboutsummaryrefslogtreecommitdiff
path: root/doc/aerc-binds.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/aerc-binds.5.scd')
-rw-r--r--doc/aerc-binds.5.scd11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/aerc-binds.5.scd b/doc/aerc-binds.5.scd
index c6ce1827..ee92d760 100644
--- a/doc/aerc-binds.5.scd
+++ b/doc/aerc-binds.5.scd
@@ -68,7 +68,13 @@ Folder-specific bindings can be configured for message lists:
_FolderName_. Keybindings from a folder specifier will take precedence
over account specifiers
-Example:
+You can use regex to match account or folder names:
+
+*[context:folder~*_Regex_*]*
+ Add folder specific bindings for folders whose names match the regular
+ expression.
+
+Examples:
```
[messages:account=Mailbox]
@@ -78,6 +84,9 @@ c = :cf path:mailbox/** and<space>
[messages:folder=Drafts]
<Enter> = :recall<Enter>
+
+[messages:folder~Archive/\d+/.*]
+gi = :cf Inbox<Enter>
...
```