diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-18 17:53:18 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-18 23:45:58 -0300 |
| commit | dba1ab69e5f38d8daf9312ab2d343b36fa078162 (patch) | |
| tree | 463e64302f3f287d4d963c0d32f9b8a880696a94 /src/config.zig | |
| parent | 58aae9a1f7aca8e64814c8775b0c17bf93f4da0f (diff) | |
| download | pardes-dba1ab69e5f38d8daf9312ab2d343b36fa078162.tar.gz pardes-dba1ab69e5f38d8daf9312ab2d343b36fa078162.zip | |
term_pane + builtins: terminal pane work, builtins/config additions, snapshots
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 12 |
1 files changed, 9 insertions, 3 deletions
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<Tab>` 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<Tab>` +/// 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 |
