summaryrefslogtreecommitdiff
path: root/docs/typ/reference.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ/reference.typ')
-rw-r--r--docs/typ/reference.typ11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index 6b90fcdc..996906ac 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -1292,7 +1292,16 @@ by the build (docs/typ/command-line.txt), so it is what the binary says.
= Placement <placement>
-A new pane goes in the column whose tag asked, else the active column (last typed or left-clicked in,
+Free space first: a new pane takes an untouched `+New` (its body empty and
+never typed into, still so named, not kept, no #file("exec") or #file("look")
+open holding it) or an empty column before it splits a pane: the asking
+pane itself when it is one, else the nearest, in its column (below it, then
+above), then the columns to its right, then those to its left. A file opened
+there keeps the `+New`'s number; a picker asked from one previews in it, and
+Esc gives it back empty. #word("New") and #file("pane/new") make free space,
+never take it.
+
+Else a new pane goes in the column whose tag asked, else the active column (last typed or left-clicked in,
dropped into, its tag given the keyboard, or given the last new pane),
never a new column. An empty column it takes whole; #word("New") and
#file("pane/new") take the bottom half of the column's last pane; a pane