bind shift+<page-up/down> to jump_to_prompt back/forward, respectively

This commit is contained in:
Mitchell Hashimoto
2023-08-05 21:32:30 -07:00
parent ef5d75e328
commit 2840062ad5

View File

@ -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