Panes: clicks, selection, tabs, peek and curves that keep to their content; Alt+h j k l between panes
- A click anywhere in a pane that is not text, a row or a link makes it the active pane; a click anywhere else, or Esc, clears a selection. - The page measures where each pane was opened from, so its column stands in that order. - A crowded column stacks the panes after the one looked at at its foot, a tab each, so every pane shows at least its tab; the curve into a tab becomes the tab's line where it meets it (no stub). - A pane cut off for any reason (covered, too small a share, past the foot) peeks out as tall as its text needs, without moving the panes around it; curves are redrawn on peek, on a pane's text changing size (ResizeObserver) and every frame while anything animates. - The curve joins the active pane's title rule too (the heavy rule alone marks it); a source out of sight in a pane that still shows is pointed at: dotted, turned at its end toward it; a curve leaves from a tab's foot only when its pane is folded to the tab. - The selection bar sits under a pane's tab, takes the room above or below the words, never covers them; a sticky tab's title is centred under the heavy rule; focus is kept clear of the tab. - Alt+h / Alt+l: the pane opened from (left) / one opened from this one (right); Alt+k / Alt+j (Alt+↑ ↓, [ ]): above / below in the column; from a node, a selection or an article; in the pane menu. - Browser tests (e2e/panes3.spec.ts) with a curve invariant (curveFaults) checked after peeks, scrolls, resizes, folds, a drag and an article arriving. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
1 parent
24a048a9f8
commit
0df51493cd
13 files changed
+727
-61
No files matched your search
@@ -103,24 +103,35 @@ Press `?` for every key. The short version:
|
||||
open already focuses it; a second `Enter` on an open row keeps it (closing is `q`'s or the x's).
|
||||
A document chosen in the menu, or by `/open`, opens in place of the one open. Moving back left
|
||||
with `h` closes nothing.
|
||||
- **Columns.** Column d holds every pane at depth d, top to bottom, and divides its own height among
|
||||
them, a short pane taking only what its text needs. When they do not all fit, the column stacks
|
||||
them the way the strip stacks columns: each pane stuck a tab below the one before, the pane on the
|
||||
focused branch shown whole and the others slid under it, partly and at the limit down to a
|
||||
one-line tab, just as earlier columns slide under later ones down to a spine. A pane scrolled
|
||||
past its own title shows the same tab at its top, over its text. Mouse resting on a covered pane,
|
||||
tab or spine: after a moment it peeks out over its neighbours, its column across and the pane down
|
||||
its column at once, and stays out while the pointer is on it (the wheel scrolls it); a click makes
|
||||
it the active pane. A pane's grip (the band above its title, by the pin and x, shown when pointed at) or
|
||||
its tab drags it up or down its column; Esc cancels; the column keeps that order. `[` and `]` go to
|
||||
the pane above and below in the column, back where you were in it; at the top or bottom they stay.
|
||||
`h` and `l` move along the focused branch.
|
||||
- **Columns.** Column d holds every pane at depth d, top to bottom, in the order of what they were
|
||||
opened from: by where their parents stand, then by where in the parent each was opened from, so a
|
||||
pane opened from higher up stands higher (and curves cross as little as they can). A column divides
|
||||
its own height among its panes, a short pane taking only what its text needs. When they do not all
|
||||
fit, the column stacks them the way the strip stacks columns: the pane on the focused branch shown
|
||||
whole, those before it stuck a tab apart above it and those after it a tab apart at the column's
|
||||
foot, partly covered and at the limit down to a one-line tab, so every pane shows at least its tab.
|
||||
A pane scrolled past its own title shows the same tab at its top, over its text. A click anywhere
|
||||
in a pane that is not text, a row or a link makes it the active pane; a click anywhere else, or
|
||||
Esc, clears a selection. Mouse resting on a pane that is cut off for any reason (covered across
|
||||
or down, too small a share of its column, past its foot): after a moment it peeks out whole over
|
||||
its neighbours, its column across and the pane down its column, as tall as its text needs, and
|
||||
stays out while the pointer is on it (the wheel scrolls it); a click makes it the active pane. A
|
||||
pane's grip (the band above its title, by the pin and x, shown when pointed at) or its tab drags
|
||||
it up or down its column; Esc cancels; the column keeps that order, and a pane opened later goes in
|
||||
just after the one before it in its own order.
|
||||
- **Between panes, by keys.** `Alt+h` goes to the pane this one was opened from, `Alt+l` to one
|
||||
opened from it (the one opened from the focused row or link, if it is open, else the one last
|
||||
visited there), `Alt+k` and `Alt+j` (or `Alt+↑` `Alt+↓`, or `[` `]`) to the pane above and below
|
||||
in the column, across forks; the same from a node, a selection or an article, back where you were
|
||||
in each pane, and left then right comes back. Plain `h` and `l` still move along the focused branch.
|
||||
The pane menu (`⋯`) offers the same.
|
||||
- **Curves.** A curve runs from the words, row or link each pane was opened from (joined to their
|
||||
underline) into the rule under the pane's title, and draws that rule, so the two are one hairline
|
||||
on device pixels; the focused branch's is drawn stronger. Where the title does not show (the pane
|
||||
folded to its tab, or scrolled past it), the curve runs into the tab's foot instead; out of a
|
||||
folded pane whose source is out of sight, it leaves from the end of that pane's tab foot. A source
|
||||
scrolled out of a pane it is still in is held at the pane's edge and the curve dotted. Curves down
|
||||
scrolled or covered out of sight in a pane that still shows is pointed at: the curve is dotted
|
||||
and ends turned toward it, at the pane's edge over where it is. Curves down
|
||||
one gutter run side by side, ordered to cross as little as they can. `/curves off` hides them.
|
||||
- **Fork colours.** Each fork has a colour of its own, quiet and the same lightness for all: a
|
||||
pane opened as the first from its pane goes on in that pane's colour, any other starts the next
|
||||
|
||||
Reference in new issue
Block a user