about summary refs log tree commit diff stats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-07-08 18:19:08 -0400
committerDrew DeVault <sir@cmpwn.com>2019-07-08 18:19:08 -0400
commit7ecc6f96de5864d76ea2a94123b11c9258791cc9 (patch)
tree338f4a6b747a67b0321cc746f8a7377ddc60af38 /doc/aerc.1.scd
parentc610c3cd9dd47c400e52c1858e987f5f32a7a45b (diff)
downloadaerc-7ecc6f96de5864d76ea2a94123b11c9258791cc9.tar.gz
Add :exec and :pipe -b(ackground)
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd23
1 files changed, 15 insertions, 8 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index aa2e5ba..a56a557 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -32,6 +32,11 @@ These commands work in any context.
 *cd* <directory>
 	Changes aerc's current working directory.
 
+*exec* <command...>
+	Executes an arbitrary command in the background.
+
+	*Note*: commands executed in this way are not executed with the shell.
+
 *pwd*
 	Displays aerc's current working directory in the status bar.
 
@@ -72,6 +77,16 @@ message list, the message in the message viewer, etc).
 *move* <target>
 	Moves the selected message to the target folder.
 
+*pipe* [-bmp] <cmd>
+	Downloads and pipes the selected message into the given shell command, and
+	opens a new terminal tab to show the result. By default, the selected
+	message part is used in the message viewer and the full message is used in
+	the message list.
+
+	*-b*: Run the command in the background instead of opening a terminal tab
+	*-m*: Pipe the full message
+	*-p*: Pipe just the selected message part, if applicable
+
 *reply* [-aq]
 	Opens the composer to reply to the selected message.
 
@@ -113,10 +128,6 @@ message list, the message in the message viewer, etc).
 	a percentage, the percentage is applied to the number of messages shown on
 	screen and the cursor advances that far.
 
-*pipe* <cmd>
-	Downloads and pipes the selected message into the given shell command, and
-	opens a new terminal tab to show the result.
-
 *select* <n>
 	Selects the nth message in the message list (and scrolls it into view if
 	necessary).
@@ -130,10 +141,6 @@ message list, the message in the message viewer, etc).
 	Saves the current message part in a temporary file and opens it
 	with the system handler.
 
-*pipe* <cmd>
-	Downloads and pipes the current message part into the given shell command,
-	and opens a new terminal tab to show the result.
-
 *save* [-p] <path>
 	Saves the current message part to the given path.