input: add more copy formatted options to the command palette

pull/9428/head
Mitchell Hashimoto 2025-10-31 08:19:35 -07:00
parent 7d6cd12fb3
commit 24b9778432
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 10 additions and 2 deletions

View File

@ -124,10 +124,18 @@ fn actionCommands(action: Action.Key) []const Command {
.copy_to_clipboard => comptime &.{ .{
.action = .{ .copy_to_clipboard = .mixed },
.title = "Copy to Clipboard",
.description = "Copy the selected text to the clipboard.",
.description = "Copy the selected text to the clipboard in both plain and styled formats.",
}, .{
.action = .{ .copy_to_clipboard = .plain },
.title = "Copy Selection as Plain Text to Clipboard",
.description = "Copy the selected text as plain text to the clipboard.",
}, .{
.action = .{ .copy_to_clipboard = .vt },
.title = "Copy Selection as ANSI Sequences to Clipboard",
.description = "Copy the selected text as ANSI escape sequences to the clipboard.",
}, .{
.action = .{ .copy_to_clipboard = .html },
.title = "Copy HTML to Clipboard",
.title = "Copy Selection as HTML to Clipboard",
.description = "Copy the selected text as HTML to the clipboard.",
} },