Implement adding of windows to splits layout

This commit is contained in:
Kovid Goyal
2020-01-28 08:46:07 +05:30
parent a99caed693
commit c788e30b66
2 changed files with 80 additions and 8 deletions

View File

@@ -73,12 +73,15 @@ newly launched child process.
--location
type=choices
default=last
choices=first,after,before,neighbor,last
choices=first,after,before,neighbor,last,vsplit,hsplit
Where to place the newly created window when it is added to a tab which
already has existing windows in it. :code:`after` and :code:`before` place the new
window before or after the active window. :code:`neighbor` is a synonym for :code:`after`.
Also applies to creating a new tab, where the value of :code:`after`
will cause the new tab to be placed next to the current tab instead of at the end.
The values of :code:`vsplit` and :code:`hsplit` are only used by the :code:`splits`
layout and control if the new window is placed in a vertical or horizontal split
with the currently active window.
--allow-remote-control