From dba1ab69e5f38d8daf9312ab2d343b36fa078162 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 18 Aug 2026 17:53:18 -0300 Subject: term_pane + builtins: terminal pane work, builtins/config additions, snapshots --- src/config.zig | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/config.zig') diff --git a/src/config.zig b/src/config.zig index 965570f9..83cd2a99 100644 --- a/src/config.zig +++ b/src/config.zig @@ -108,6 +108,10 @@ pub const leader_path = paths: { .Lspinfo = "li", .Lspwhy = "lw", .Del = "d", + // A terminal-pane tag owns this presentation switch. It deliberately + // has no global leader path: executing the word beside that terminal + // makes the pane-local scope visible at the point of use. + .Filter = null, .Kill = "k", // THE CLIPBOARD MENU, on helix's own five letters and nowhere else. // These are the only paths in the table that keep their helix spelling @@ -374,11 +378,13 @@ pub const tty_blank: enum { prompt, prompt_and_input } = .prompt; 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). Save stays first on real files: -/// `:` parks at the tail boundary, so the established `:w` spelling still -/// walks to Save while New remains visible on every pane. +/// no file to Save, so it gets the plain one). Terminals alone expose Filter, +/// the pane-local theme-keyed colour projection. Save stays first on real +/// files: `:` parks at the tail boundary, so the established `:w` +/// spelling still walks to Save while New remains visible on every pane. pub const pane_builtins_str = "New Del"; pub const file_pane_builtins_str = "Save New Del"; +pub const terminal_pane_builtins_str = "New Del Filter"; /// Columns kept clear to the RIGHT of a tagline's builtins. The path stays at /// the left edge and the builtins are pushed over to end this far short of the -- cgit v1.3