keybinding jump_to_prompt for semantic prompts

This commit is contained in:
Mitchell Hashimoto
2023-07-06 10:30:29 -07:00
parent b542f7e3c4
commit 9f86c48fd8
8 changed files with 47 additions and 1 deletions

View File

@@ -491,6 +491,18 @@ pub const Config = struct {
.{ .clear_screen = {} },
);
// Semantic prompts
try result.keybind.set.put(
alloc,
.{ .key = .up, .mods = .{ .super = true, .shift = true } },
.{ .jump_to_prompt = -1 },
);
try result.keybind.set.put(
alloc,
.{ .key = .down, .mods = .{ .super = true, .shift = true } },
.{ .jump_to_prompt = 1 },
);
// Mac windowing
try result.keybind.set.put(
alloc,