summaryrefslogtreecommitdiff
path: root/apps/web/src/hooks/use-keyboard-shortcuts-help.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-08-28 22:37:51 +0200
committerMaze Winther <mazewinther@gmail.com>2025-08-28 22:37:51 +0200
commita7d90f7eac90966920c750134d7de9b611b2c38f (patch)
treedb8a33eb12c6294cc0000caf05c600fe3c33069e /apps/web/src/hooks/use-keyboard-shortcuts-help.ts
parent70a9bfebb196d5c0bde35ce0a165b696bb9ae1d0 (diff)
downloadopencut-a7d90f7eac90966920c750134d7de9b611b2c38f.tar.gz
feat: copy/pasting for elements
Diffstat (limited to 'apps/web/src/hooks/use-keyboard-shortcuts-help.ts')
-rw-r--r--apps/web/src/hooks/use-keyboard-shortcuts-help.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/web/src/hooks/use-keyboard-shortcuts-help.ts b/apps/web/src/hooks/use-keyboard-shortcuts-help.ts
index e2cde3b4..29e3c09b 100644
--- a/apps/web/src/hooks/use-keyboard-shortcuts-help.ts
+++ b/apps/web/src/hooks/use-keyboard-shortcuts-help.ts
@@ -63,6 +63,14 @@ const actionDescriptions: Record<
"toggle-snapping": { description: "Toggle snapping", category: "Editing" },
undo: { description: "Undo", category: "History" },
redo: { description: "Redo", category: "History" },
+ "copy-selected": {
+ description: "Copy selected elements",
+ category: "Editing",
+ },
+ "paste-selected": {
+ description: "Paste elements at playhead",
+ category: "Editing",
+ },
};
// Convert key binding format to display format