summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
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 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 } };