From b32447e0b265f25ad7807760956bedf8cf42664d Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 24 Oct 2026 13:42:38 -0300 Subject: Window mode: d deletes the outlined pane (Del's k/j question, the outline following its rows), c collapses it --- src/config.zig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/config.zig') diff --git a/src/config.zig b/src/config.zig index fff99ad2..2cb66c0a 100644 --- a/src/config.zig +++ b/src/config.zig @@ -303,6 +303,11 @@ pub const window_keys = [_]struct { letter: Chord, arrow: Chord, cmd: Builtin }{ .{ .letter = .{ .cp = 'l' }, .arrow = .{ .cp = Key.right }, .cmd = .Right }, }; +// In window mode `d` is Del on the outlined pane, its k/j question and all, +// the outline going with the rows; `c` is Collapse. Neither is a label. +pub const window_delete: []const Chord = &.{.{ .cp = 'd' }}; +pub const window_collapse: []const Chord = &.{.{ .cp = 'c' }}; + pub const new_shell_below: []const Chord = &.{.{ .cp = 'n', .alt = true }}; pub const pane_to_new_column: []const Chord = &.{.{ .cp = 'c', .alt = true }}; -- cgit v1.3