diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-10-17 15:16:11 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-18 22:25:35 +0200 |
commit | bad694e466705db83da2e864a3988255eb97055a (patch) | |
tree | 2898491fa51a998c5f034399ed17a8991abddc1b /doc | |
parent | 7016c6f86ae09b3e49eab665aa013628db4ee102 (diff) | |
download | aerc-bad694e466705db83da2e864a3988255eb97055a.tar.gz |
ui: add :split and :vsplit view options
Add :split and :vsplit commands, which split the message list view to
include a message viewer. Each command takes an int, or a delta value
("+1", "-1"). The int value is the resulting size of the message list,
and a new message viewer will be displayed below / to the right of the
message list. This viewer *does not* set seen flags.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/aerc.1.scd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index d416e072..328576ad 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -355,6 +355,14 @@ message list, the message in the message viewer, etc). Selects the nth message in the message list (and scrolls it into view if necessary). +*split* [+|-] [<n>] + Creates a horizontal split, showing a <n> messages and a message view + below the message list. If a + or - is prepended, the message list size + will grow or shrink accordingly. The split can be cleared by calling + :split 0, or just :split. The split can be toggled by calling split with + the same size repeatedly. For example, :split 10 will create a split. + Calling :split 10 again will remove the split. Also see *vsplit* + *sort* [[-r] <criterion>]... Sorts the message list by the given criteria. *-r* sorts the immediately following criterion in reverse order. @@ -389,6 +397,15 @@ message list, the message in the message viewer, etc). flag -p is set, the message will not be marked as "seen" and ignores the "auto-mark-read" config. +*vsplit* [+|-] [<n>] + Creates a vertical split of the message list. The message list will be + <n> columns wide, and a vertical message view will be shown to the right + of the message list. If a + or - is prepended, the message list size + will grow or shrink accordingly. The split can be cleared by calling + :vsplit 0, or just :vsplit. The split can be toggled by calling split + with the same size repeatedly. For example, :vsplit 10 will create a + split. Calling :vsplit 10 again will remove the split. Also see *split* + ## MESSAGE VIEW COMMANDS *close* |