diff options
author | Vitaly Ovchinnikov <v@ovch.ru> | 2023-10-30 15:35:59 +0000 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-11-02 11:59:39 +0100 |
commit | fb8e60c041d7b4a61e5862d6bce6fd3bd8fca000 (patch) | |
tree | 7ca068423a22492126290e5c1922d4532f184303 /doc | |
parent | 4bd93fccbf18a855016bd26a3ec8cd9ca7cf5600 (diff) | |
download | aerc-fb8e60c041d7b4a61e5862d6bce6fd3bd8fca000.tar.gz |
binds: folder-specific bindings for composer
Add folder-specific bindings for composer, so custom binginds might be
specified for a composer opened in a given folder.
Changlelog-Added: `[compose::editor:folder=$name]` binding context.
Signed-off-by: Vitaly Ovchinnikov <v@ovch.ru>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/aerc-binds.5.scd | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/aerc-binds.5.scd b/doc/aerc-binds.5.scd index f3e44574..228c6cd1 100644 --- a/doc/aerc-binds.5.scd +++ b/doc/aerc-binds.5.scd @@ -61,9 +61,12 @@ You may also configure account specific key bindings for each context: 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: +Folder and context-specific bindings can be configured for message lists: -*[messages:folder=*_FolderName_*]* +*[messages:folder=*_FolderName_*]*++ +*[compose:folder=*_FolderName_*]*++ +*[compose::editor:folder=*_FolderName_*]*++ +*[compose::review:folder=*_FolderName_*]* 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 @@ -76,6 +79,9 @@ c = :cf path:mailbox/** and<space> [compose::editor:account=Mailbox2] +[compose::editor:folder=aerc] +y = :send -t aerc + [messages:folder=Drafts] <Enter> = :recall<Enter> |