From 45f152b2de946aa7c7ed5ffe37d07b0930dfc38b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 2 Aug 2026 18:35:29 -0300 Subject: add New builtin for an empty temporary file in the calling column --- src/config.zig | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/config.zig') diff --git a/src/config.zig b/src/config.zig index 6748a438..dec4272c 100644 --- a/src/config.zig +++ b/src/config.zig @@ -109,9 +109,10 @@ pub const leader_path = paths: { .Lspwhy = "lw", .Del = "d", .Kill = "k", - // the `f` file group (spacemacs): Save left vim's `w` to join Find here, - // which frees `w` for the window group (SPC w h/j/k/l) to move into. + // the `f` file group (spacemacs): Save left vim's `w` to join Find and + // New here, which frees `w` for the window group (SPC w h/j/k/l). .Save = "fs", + .New = "fn", .Find = "ff", .Grep = "fg", .Tutor = "ht", @@ -289,9 +290,11 @@ pub const tty_toggle_alt: []const Chord = &.{.{ .cp = Key.escape, .shift = true // reason it earns the width. Appended rather than inserted so every existing // word keeps its column and no golden's click coordinates move. // -// The two searches go LAST (before the optional `Restore `), and next to -// each other: they are one pair — Find matches file NAMES, Grep their CONTENTS. -pub const topbar_str = "Kill Newcol Tutor Debug NextColor Dump Find Grep Help"; +// 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"; /// 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) -- cgit v1.3