summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-02 18:59:51 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit7c51e3f616aa0535948e6aacafec142732e1288b (patch)
treea286bf1817263c58ccf1d23ebd34a36d35e359bf /src
parent45f152b2de946aa7c7ed5ffe37d07b0930dfc38b (diff)
downloadpardes-7c51e3f616aa0535948e6aacafec142732e1288b.tar.gz
pardes-7c51e3f616aa0535948e6aacafec142732e1288b.zip
prioritize useful topbar commands and put Kill last
Diffstat (limited to 'src')
-rw-r--r--src/config.zig19
-rw-r--r--src/tutor.txt6
2 files changed, 12 insertions, 13 deletions
diff --git a/src/config.zig b/src/config.zig
index dec4272c..1c986178 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -281,20 +281,19 @@ pub const tty_toggle_alt: []const Chord = &.{.{ .cp = Key.escape, .shift = true
// that `SPC t c` / `SPC t r` press them. NextColor stays — it is the one you
// cycle repeatedly, so a click beats a three-key path.
//
-// Help is LAST and is the one word that has to be here. A bare `pardes` boots
+// Ordered by day-to-day usefulness, in stable functional groups: creation
+// (New/Newcol), search/navigation (Find/Grep), learning (Help/Tutor), session
+// persistence (Dump), appearance/diagnostics (NextColor/Debug), then the one
+// destructive global action (Kill) exactly last. Find and Grep stay adjacent:
+// the former matches file NAMES, the latter their CONTENTS.
+//
+// Help has to be here even though it is secondary. A bare `pardes` boots
// straight into tty mode (main.zig: `args.len == 1`), where every printable
// key belongs to the shell — so SPC never reaches the leader and `SPC ?`, the
// thing that would tell you the leader exists, is exactly what you cannot
// press. Row 0 is not a pane, so a middle-click on it is dispatched before any
-// pane's mode is consulted: this word works in tty mode, which is the only
-// reason it earns the width. Appended rather than inserted so every existing
-// word keeps its column and no golden's click coordinates move.
-//
-// New is appended with the late additions, immediately before Help: every
-// older action keeps its click column, and the roadmap's separate tagline-order
-// item owns the later reshuffle. The two searches stay next to each other:
-// Find matches file NAMES, Grep their CONTENTS.
-pub const topbar_str = "Kill Newcol Tutor Debug NextColor Dump Find Grep New Help";
+// pane's mode is consulted: Help works in tty mode, which earns its width.
+pub const topbar_str = "New Newcol Find Grep Help Tutor Dump NextColor Debug Kill";
/// the default editable tail of a pane's tag, per kind (an output buffer has
/// no file to Save, so it gets the plain one)
diff --git a/src/tutor.txt b/src/tutor.txt
index f13346fe..cd92c8d5 100644
--- a/src/tutor.txt
+++ b/src/tutor.txt
@@ -136,7 +136,7 @@
"Delcol" still exists as a command: type it in
a tag or body and execute it to close the whole column. A SEPARATE bar
across the top of the screen holds the window-agnostic builtins:
- Kill Newcol Tutor Debug NextColor Dump Find Grep New Help
+ New Newcol Find Grep Help Tutor Dump NextColor Debug Kill
Middle-click "New" for an empty temporary file in this pane's column,
"Newcol" for a new column, "Tutor" to spawn this tutor, "Kill" to
quit. From the KEYBOARD the bar is `k` off the topmost
@@ -543,7 +543,7 @@
chords: 1-2 cut 1-3 paste (both in one hold = snarf)
2-1 = middle-exec with the left selection as argument
file tag = mode + path + "Save Del"; other tags show Del
- top bar = Kill Newcol Tutor Debug NextColor Dump ... New Help
+ top bar = New Newcol Find Grep Help Tutor Dump ... Debug Kill
(keyboard: k off the topmost tagline)
WEB TOUCH: one-finger tap = LOOK; drag = natural scroll
LOOK opens URLs or embedded tracked .zig source (read-only)
@@ -572,7 +572,7 @@
shell's own prompt to position you precisely.
To spawn THIS tutor again from anywhere: middle-click "Tutor" in the
- top bar (next to New / Newcol), or press SPC h t.
+ top bar (next to Help), or press SPC h t.
Quit the tutor: this is a file pane — `:q` isn't wired; close the
window (middle-click "Del" in its tag), "Kill" (top bar) to quit