summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 13:42:38 -0300
committerGabriel Schneider <[email protected]>2026-10-24 15:41:50 -0300
commitb32447e0b265f25ad7807760956bedf8cf42664d (patch)
tree7d2fa5bbf88af4a1ce07a911709e33448aa6e161 /src/config.zig
parentf3b5bd10ceb4c4db7263739770d5e4bdb879ba75 (diff)
downloadpardes-b32447e0b265f25ad7807760956bedf8cf42664d.tar.gz
pardes-b32447e0b265f25ad7807760956bedf8cf42664d.zip
Window mode: d deletes the outlined pane (Del's k/j question, the outline following its rows), c collapses it
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig5
1 files changed, 5 insertions, 0 deletions
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 }};