diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 21:58:59 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 78e01b9da2090c7c626640fd9103b6e97d4644b5 (patch) | |
| tree | a830e9b1f1d53af7a22909e63496098f42e134f2 /docs/fs.md | |
| parent | ad7781f065ba3bbda1041d187c53f220da243131 (diff) | |
| download | pardes-78e01b9da2090c7c626640fd9103b6e97d4644b5.tar.gz pardes-78e01b9da2090c7c626640fd9103b6e97d4644b5.zip | |
Docs say how a look resolves a relative path: the looking pane's directory, then each jump-list pane's, most recent first
fs.md's look section and tags.md said nothing of where a relative path
is looked for, so a look that found a file in a directory visited an
hour ago, or not in an open pane never visited, was a surprise. The
order is written as look.zig's resolveLookTarget has it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/fs.md')
| -rw-r--r-- | docs/fs.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -227,6 +227,12 @@ go. An `exec` line's blanks at either end are trimmed. nothing is: said on the message row and logged as an `err`, the write still answered. A file that is there but will not open (no permission to read it, say) fails the write, with why. +- a relative path is resolved where the click was, then where you have + been: first against the looking pane's own directory, then against the + directory of each pane in the jump list, most recent first, each + directory tried once; the first that names a file (or a pane open on + that path) wins. A pane never visited (not in the jump list) is not + searched. `./x` and `../x` are the looking pane's directory's alone. - `@p<serial>:<addr>` addresses a pane by serial, a terminal's logical lines too. - a directory types `ls` into a terminal idle there, else opens one there. |
