summaryrefslogtreecommitdiff
path: root/docs/typ/cheatsheet.typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-23 13:48:06 -0300
committerGabriel Schneider <[email protected]>2026-11-23 15:09:24 -0300
commitf34d3a74cc4a6b735c98ce98cef0df42bd065e67 (patch)
tree113e9b7a1fd88d3aadf223238802c57bad1281c6 /docs/typ/cheatsheet.typ
parent5296843dd27297bee3cbcf123426a9de17b33dfb (diff)
downloadpardes-f34d3a74cc4a6b735c98ce98cef0df42bd065e67.tar.gz
pardes-f34d3a74cc4a6b735c98ce98cef0df42bd065e67.zip
docs: `Compare` in the guide's chapter "Changes on the source view" and the cheatsheet: the word's row in the chapter's table (two points or more, each one revision, the pairs in their order, bare as bare `Changes`, one set a pane), `Diff from..to path:line`'s row (the pair's patch, the changes between on top, `+` brought in, `-` undone; a Look on a pair's row's first word), and a paragraph *Points.*: the user's three-way case (`Compare 9ef6312813 ea63317630 master@origin`: two changes where `Changes` draws a lane a commit), a pair's row as the user's case reads it (`ozlwptts..pyquzokk 4 changes, 1 undone 2026-09-25..2026-11-03`), what `undone` is, that the points need not be ancestors (ancestry only names the changes between), a pair with no difference not drawn, where the pairs stand against the text shown (behind when the last point's text is shown; the step to the shown revision carries their places) and what a middle point draws on this base (the second pair as a change ahead is drawn today, as if behind); the cheatsheet's row under "Reviewing diffs"; docs check in core-test: every `#word` named exists; `.scratch/sketch/TRY.md`'s usage notes (outside the tree) rewrite the three-way case with the word; core-test's docs check passes (943/1109 Debug and ReleaseSafe), the gui unit-test's too (1748/1752)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/typ/cheatsheet.typ')
-rw-r--r--docs/typ/cheatsheet.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/typ/cheatsheet.typ b/docs/typ/cheatsheet.typ
index a590e402..9f51d309 100644
--- a/docs/typ/cheatsheet.typ
+++ b/docs/typ/cheatsheet.typ
@@ -119,7 +119,7 @@ Helix-style: motions *select*, then an edit acts on the selection. Mode box: bla
== Reviewing diffs
`git diff` output is a diff: #btn("B3") on a file line, an `@@` or a line's `+`/`-` jumps there. #doc("tags", section: "reviewing-diffs")
-#word("Changes") `revset` on a file's pane: a lane a change (one change: green beside what it wrote, red beside what it took away), an arrow to its description, ghost rows for what it took away, #keys("] g", "[ g") from change to change; #btn("B3") on a change id: its patch, header first; #word("Churn") `3m`: each declaration's changes, grey to red; `a.zig@main:12` is a file at a revision. #doc("guide", section: "changes")
+#word("Changes") `revset` on a file's pane: a lane a change (one change: green beside what it wrote, red beside what it took away), an arrow to its description, ghost rows for what it took away, #keys("] g", "[ g") from change to change; #btn("B3") on a change id: its patch, header first; #word("Compare") `a b c`: one lane a pair of points, the whole difference between them (a three-way view); #word("Churn") `3m`: each declaration's changes, grey to red; `a.zig@main:12` is a file at a revision. #doc("guide", section: "changes")
== Finding things
- A query pane under the pane: line 1 the query, its first word the source: `/pat`, `Find name` (fuzzy), `Grep text` (literal), `Recent`, `Panes`, `Symbols`, `All`. #keys("Ctrl-n", "Ctrl-p") step, #key("Enter") lands and keeps the rows, #key("Esc") puts things back. #word("Help"), #word("Tutor").