diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-10-04 09:05:35 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-13 00:45:36 +0200 |
commit | 3376681c21a58481cc5bc0a6a81848c820534f4e (patch) | |
tree | 04fd061335d99e411547ea4b8d50677f5d118a89 /doc/aerc-binds.5.scd | |
parent | 4fa64f3df020ee3f8e10907104bc4c7a8374ed41 (diff) | |
download | aerc-3376681c21a58481cc5bc0a6a81848c820534f4e.tar.gz |
doc: update aerc-binds
Update aerc-binds to reflect the code. The contextual account and folder
arguments were always evaluated as regular expressions. Also, the
contextual arguments do not understand "~" but only "=" (in contrast to
the ui contextual parser).
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc-binds.5.scd')
-rw-r--r-- | doc/aerc-binds.5.scd | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/doc/aerc-binds.5.scd b/doc/aerc-binds.5.scd index b9d4cb8a..8ce59cf0 100644 --- a/doc/aerc-binds.5.scd +++ b/doc/aerc-binds.5.scd @@ -58,21 +58,15 @@ The available contexts are: You may also configure account specific key bindings for each context: *[context:account=*_AccountName_*]* - keybindings for this context and account, where _AccountName_ matches - the account name you provided in _accounts.conf_. + keybindings for this context and account, where _AccountName_ is a + regular expression that 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 - -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. + keybindings under this section will be specific to the folder that + matches the regular expression _FolderName_. + Keybindings from a folder specifier will take precedence over account specifiers Examples: @@ -85,7 +79,7 @@ c = :cf path:mailbox/** and<space> [messages:folder=Drafts] <Enter> = :recall<Enter> -[messages:folder~Archive/\d+/.*] +[messages:folder=Archive/\d+/.*] gi = :cf Inbox<Enter> ... ``` |