action/command: Add optional flag -hsplit & -vsplit to help

This commit is contained in:
Jöran Karl
2024-10-13 12:34:41 +02:00
parent d60413f03c
commit 26f0806915
3 changed files with 51 additions and 12 deletions

View File

@@ -1723,7 +1723,7 @@ func (h *BufPane) ToggleHelp() bool {
if h.Buf.Type == buffer.BTHelp {
h.Quit()
} else {
h.openHelp("help")
h.openHelp("help", true, false)
}
return true
}