core: bindings for navigate_search

This commit is contained in:
Mitchell Hashimoto
2025-11-25 10:48:31 -08:00
parent 880db9fdd0
commit ba7b816af0
3 changed files with 33 additions and 0 deletions

View File

@@ -163,6 +163,16 @@ fn actionCommands(action: Action.Key) []const Command {
.description = "Paste the contents of the selection clipboard.",
}},
.navigate_search => comptime &.{ .{
.action = .{ .navigate_search = .next },
.title = "Next Search Result",
.description = "Navigate to the next search result, if any.",
}, .{
.action = .{ .navigate_search = .previous },
.title = "Previous Search Result",
.description = "Navigate to the previous search result, if any.",
} },
.increase_font_size => comptime &.{.{
.action = .{ .increase_font_size = 1 },
.title = "Increase Font Size",