From fad375c673e7bab4b01bbe6a774fae460ce62b86 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Fri, 20 Dec 2019 13:21:35 -0500 Subject: Add address book completion in composer Complete email address fields in the message composer with an external address book command, compatible with mutt's query_cmd. --- doc/aerc-config.5.scd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 01abefe..615c3ab 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -218,6 +218,22 @@ These options are configured in the *[compose]* section of aerc.conf. Default: To|From,Subject +*address-book-cmd* + Specifies the command to be used to tab-complete email addresses. Any + occurrence of "%s" in the address-book-cmd will be replaced with what the + user has typed so far. + + The command must output the completions to standard output, one completion + per line. Each line must be tab-delimited, with an email address occurring as + the first field. Only the email address field is required. The second field, + if present, will be treated as the contact name. Additional fields are + ignored. + + Example: + khard email --parsable '%s' + + Default: none + ## FILTERS Filters allow you to pipe an email body through a shell command to render -- cgit v1.2.3