diff options
author | inwit <inwit@sindominio.net> | 2023-09-28 21:23:19 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-13 00:32:22 +0200 |
commit | 0d5443b36e4cf3f74b8334b4734ded7176c026be (patch) | |
tree | d3e33312c45a785f80b950cfebcbdc3f03a73df5 /app | |
parent | 14baf17f4bd47377403c5d965c1fe294d2ec6ef0 (diff) | |
download | aerc-0d5443b36e4cf3f74b8334b4734ded7176c026be.tar.gz |
split: add an alias for horizontal split
To date, there are two orthogonal commands named :vsplit and :split,
which create a vertical and a horizontal split, respectively. Add a
:hsplit alias for the latter.
Signed-Off-By: inwit <inwit@sindominio.net>
Acked-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'app')
-rw-r--r-- | app/account.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/account.go b/app/account.go index c7abde6f..312ba89b 100644 --- a/app/account.go +++ b/app/account.go @@ -547,7 +547,7 @@ func (acct *AccountView) updateSplitView(msg *models.MessageInfo) { } acct.split = NewMessageViewer(acct, view) switch acct.splitDir { - case "split": + case "split", "hsplit": acct.grid.AddChild(acct.split).At(1, 1) case "vsplit": acct.grid.AddChild(acct.split).At(0, 2) |