Add "Scroll to Selection" command

This commit is contained in:
fn ⌃ ⌥
2025-05-03 09:07:12 -07:00
committed by Mitchell Hashimoto
parent eb7368699b
commit 071531c5c5
3 changed files with 16 additions and 0 deletions

View File

@@ -170,6 +170,12 @@ fn actionCommands(action: Action.Key) []const Command {
.description = "Scroll to the bottom of the screen.",
}},
.scroll_to_selection => comptime &.{.{
.action = .scroll_to_selection,
.title = "Scroll to Selection",
.description = "Scroll to the selected text.",
}},
.scroll_page_up => comptime &.{.{
.action = .scroll_page_up,
.title = "Scroll Page Up",