From 06d61f097346704452cccd3181da87bb93649bd8 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 22 Nov 2026 01:12:04 -0300 Subject: layers: the chords, the manual and the cheatsheet (slice 8): `Changes` on `SPC t c` and `Churn` on `SPC t u`, beside `Syntax`'s `SPC t h` in the toggles' group (proposed from its free letters: b c e f g j k m o q r u v x y; the user rules the letters); docs/typ/guide.typ has a chapter "Changes on the source view" after "A file at a revision": the words and their keys (`Changes revset`, `Churn window` with its span-of-time words, `] g`/`[ g`, `path@rev[:line]`), lanes, what a ghost row is and is not (no number, not text to the cursor, search, selection and the numbers, a B3 opens its line at its revision, one row cut and never wrapped, a description's title cut before its author and age, a hunk of more than 1,024 lines taken away shows none), churn (the cell after the number, grey to red on a log scale, the innermost declaration, the strip, the order beside the lanes, a file's history followed by its name only), and when jj answers and how its answer rides with the text; the cheatsheet's leader rows and a line under "Reviewing diffs"; the builtins' lists with the chords; the docs name `] g` as two keys, as the docs check reads keys; `zig build book` 132/132, the docs check 9/9, core-test 912/1072 (160 skipped), shell-test 1114/1117 (3 skipped) Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- docs/typ/cheatsheet.typ | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/typ/cheatsheet.typ') diff --git a/docs/typ/cheatsheet.typ b/docs/typ/cheatsheet.typ index 2df92b00..d65ca6d9 100644 --- a/docs/typ/cheatsheet.typ +++ b/docs/typ/cheatsheet.typ @@ -101,6 +101,8 @@ Helix-style: motions *select*, then an edit acts on the selection. Mode box: bla key("SPC t t"), word("Themes"), key("SPC t n"), word("NextColor"), key("SPC t w"), word("Wrap"), + key("SPC t c"), word("Changes"), + key("SPC t u"), word("Churn"), key("SPC c n"), word("Newcol"), key("SPC s d"), word("Dump"), key("SPC s r"), word("Restore"), @@ -117,6 +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, ghost rows for what it took away, #keys("] g", "[ g") from change to change; #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"). -- cgit v1.3