aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAron Lebani <aron@lebani.dev>2024-08-02 09:59:33 +1000
committerRobin Jarry <robin@jarry.cc>2024-08-04 18:26:58 +0200
commitfff69046b02f3d9ea0218ff071ba5e4d5b3a3c12 (patch)
tree3537292b6b3070a44196629c6df3b544ce4d3c04 /doc
parent2cd0cec19d6146d6e9681b648d978f463b107008 (diff)
downloadaerc-fff69046b02f3d9ea0218ff071ba5e4d5b3a3c12.tar.gz
view-message: add option to view message in background tab
Add a -b flag to the :view command to open messages in a background tab instead of automatically switching to the new tab after opening. This is similar to opening browser tabs in the background. More generally, adds a new function app.NewBackgroundTab so that it is possible to enable other tabs to be opened in the background in the future. Implements: https://todo.sr.ht/~rjarry/aerc/266 Changelog-added: Add `-b` flag to the `:view` command to open messages in a background tab. Signed-off-by: Aron Lebani <aron@lebani.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc.1.scd7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 0e9f33ef..30840158 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -713,11 +713,12 @@ message list, the message in the message viewer, etc).
Toggles between showing entire thread (when supported) and only showing
messages which match the current query / mailbox.
-*:view* [*-p*]++
-*:view-message* [*-p*]
+*:view* [*-pb*]++
+*:view-message* [*-pb*]
Opens the message viewer to display the selected message. If the peek
flag *-p* is set, the message will not be marked as seen and ignores the
- *auto-mark-read* config.
+ *auto-mark-read* config. If the background flag *-b* is set, the message
+ will be opened in a background tab.
*:vsplit* [[_+_|_-_]_<n>_]
Creates a vertical split of the message list. The message list will be