From 44a55d41ad6b5c61c75456414e13aec94b367b02 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sat, 12 Aug 2023 00:51:41 +0200 Subject: complete: allow setting the completion key binding Until now, if less than complete-min-chars were entered or if completion-delay had not expired yet, the only way to force trigger completion was to press . In some cases, is already bound to another action (for example :next-field in the compose::editor context). This makes forcing the completion impossible. Allow defining a key to trigger manual completion via the new $complete special entry in binds.conf. Leave the default binding to . Set it to in the [compose::editor] to avoid conflicting with the existing binding. Changelog-added: Customize key to trigger completion with `$complete` in `binds.conf`. Signed-off-by: Robin Jarry Reviewed-by: Tim Culverhouse --- doc/aerc-binds.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/aerc-binds.5.scd b/doc/aerc-binds.5.scd index 228c6cd1..99ef1188 100644 --- a/doc/aerc-binds.5.scd +++ b/doc/aerc-binds.5.scd @@ -122,6 +122,12 @@ available in each binding context: Default: _:_ +*$complete* = __ + This can be set to a keystroke which will trigger command completion in + this context for text inputs that support it. + + Default: __ + # SUPPORTED KEYS In addition to letters and some characters (e.g. *a*, *RR*, *gu*, *?*, *!*, -- cgit