summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-27 10:20:19 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commitc79612b523c1526202335302e1e49c078ca317cf (patch)
treeb76d7b0e15f3b0e43ba65f9ea9eb57ee4a8ed6e1 /docs
parentf0e498832a1a4f92d5fdbc3fc643a3dba1dd9df9 (diff)
downloadpardes-c79612b523c1526202335302e1e49c078ca317cf.tar.gz
pardes-c79612b523c1526202335302e1e49c078ca317cf.zip
look resolves against every open pane's directory: clicked pane first, then most-recently-focused, search only when all fail
Diffstat (limited to 'docs')
-rw-r--r--docs/design.typ16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/design.typ b/docs/design.typ
index 61015e17..c7284049 100644
--- a/docs/design.typ
+++ b/docs/design.typ
@@ -204,12 +204,16 @@ pane to new column; Ctrl-w h/j/k/l directional focus; `--tty` single-pane mode.
enters normal), click clears, tag-row click enters tag edit, scrollbar
click scrolls up-to-row (right button: down), border/move drags. Middle:
execute — no-drag expands to file-ish word (alnum `.-+/:@_~`); builtin or send
-to shell; does not focus. Right: look — peel `:NNN`, resolve against pane cwd
-(`/proc/pid/cwd`) or file's dir; dir → shell + `ls` in source column (dedup by
-cwd), file → file pane at line (dedup by path, first doc opens left column and
-may evict a lone pristine shell; later docs split below the existing doc),
-image ext → image pane. Middle+left chord: kept left selection appended as
-trailing CLI argument. Wheel: scroll hovered pane, batched.
+to shell; does not focus. Right: look — peel `:NNN`, resolve against the
+clicked pane's dir (`/proc/pid/cwd`, or a file's dirname) and, if that fails,
+against every other live pane's, most-recently-focused first (focus_hist
+backwards, duplicate dirs skipped; absolute words try one dir and stop) so a
+relative name is openable from any window that can see it; dir → shell + `ls`
+in source column (dedup by cwd), file → file pane at line (dedup by path,
+first doc opens left column and may evict a lone pristine shell; later docs
+split below the existing doc), image ext → image pane. Middle+left chord: kept
+left selection appended as trailing CLI argument. Wheel: scroll hovered pane,
+batched.
*Modes.* normal: helix motions (`h j k l w b e W B E 0 $ ^ gg ge gh gl G`,
`Ctrl-d/u/f/b`, `zt zz zb`), insert entries (`i a I A o O`), `v`/`x`