From 578710b72755503ef2ef40a0ae301e608af3e3af Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 24 Oct 2026 13:44:56 -0300 Subject: The Del question is a hint: shown on the notice band only after 400 ms of waiting for k or j --- 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 2cb66c0a..e8016434 100644 --- a/src/config.zig +++ b/src/config.zig @@ -395,6 +395,11 @@ pub const search_submit: []const Chord = &.{.{ .cp = Key.enter }}; // Del from the keyboard on a pane with open panes both above and below it // asks which of them takes its rows. One key answers; any other keeps the pane. pub const del_question = "Del: give space to k above j below"; +// The question waits this long before it shows: SPC d j typed at speed +// never sees it, and a hand that pauses after SPC d (it pressed Del and +// nothing closed) gets it as a hint. Typed in one go the answer lands +// 100-250 ms after the d; a hesitation is longer than that. +pub const del_question_delay_ns: u64 = 400 * std.time.ns_per_ms; pub const del_above: []const Chord = &.{ .{ .cp = 'k' }, .{ .cp = Key.up } }; pub const del_below: []const Chord = &.{ .{ .cp = 'j' }, .{ .cp = Key.down } }; -- cgit v1.3