summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig12
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