aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-config.5.scd13
-rw-r--r--doc/aerc.1.scd6
2 files changed, 18 insertions, 1 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index f18b5110..513f7373 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -555,6 +555,19 @@ These options are configured in the *[compose]* section of aerc.conf.
Default: none
+*file-picker-cmd*
+ Specifies the command to be used to select attachments. Any occurence of
+ '%s' in the file-picker-cmd will be replaced with the argument <arg>
+ to :attach -m <arg>.
+
+ The command must output the selected files to standard output,
+ one file per line.
+
+ Example:
+ file-picker-cmd=fzf --multi --query=%s
+
+ Default: none
+
*reply-to-self*
If set to false, do not mail yourself when replying (e.g., if replying
to emails previously sent by yourself, address your replies to the
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 4f9b6a7f..c1efc954 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -479,10 +479,14 @@ message list, the message in the message viewer, etc).
*abort*
Close the composer without sending, discarding the message in progress.
-*attach* <path>
+*attach* [-m [<arg>] | <path>]
Attaches the file at the given path to the email. The path can contain
globbing syntax described at https://godocs.io/path/filepath#Match.
+ *-m* [<arg>]
+ Runs the 'file-picker-cmd' to select files to be attached.
+ Requires an argument when 'file-picker-cmd' contains the '%s' verb.
+
*attach-key*
Attaches the public key for the configured account to the email.