diff options
author | inwit <inwit@sindominio.net> | 2023-05-26 09:01:06 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-05-28 18:21:26 +0200 |
commit | 6939f83ba670cfd69196f6c9434d6188c0a0af4a (patch) | |
tree | ef2ed81f98c8cafa2d582fbc8a0acd2b1c4233ae /doc/aerc-binds.5.scd | |
parent | 792839b9a3196b3a8f1c57a2ced64e064061b9f9 (diff) | |
download | aerc-6939f83ba670cfd69196f6c9434d6188c0a0af4a.tar.gz |
doc: mention regex for the bindings definition
Document the possibility of using regex when defining bindings for specific
accounts or folders.
Signed-off-by: inwit <inwit@sindominio.net>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'doc/aerc-binds.5.scd')
-rw-r--r-- | doc/aerc-binds.5.scd | 11 |
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> ... ``` |