From 2840062ad5048a7db86fbf72d6fcc81f9d2418f6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 5 Aug 2023 21:32:30 -0700 Subject: [PATCH] bind shift+ to jump_to_prompt back/forward, respectively --- src/config.zig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/config.zig b/src/config.zig index 7d2a7fc24..e812cbec8 100644 --- a/src/config.zig +++ b/src/config.zig @@ -480,6 +480,18 @@ pub const Config = struct { .{ .key = .right, .mods = .{ .ctrl = true, .alt = true } }, .{ .goto_split = .right }, ); + + // Semantic prompts + try result.keybind.set.put( + alloc, + .{ .key = .page_up, .mods = .{ .shift = true } }, + .{ .jump_to_prompt = -1 }, + ); + try result.keybind.set.put( + alloc, + .{ .key = .page_down, .mods = .{ .shift = true } }, + .{ .jump_to_prompt = 1 }, + ); } { // Cmd+N for goto tab N