fix: add missing 'S' keyboard shortcut for split at cursor

Added keyboard handler for the 'S' key to trigger split at cursor.
The shortcut was defined in the command palette but missing from
the keyboard event handler.

Note: Ctrl+A for Select All was already working correctly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-20 07:56:02 +01:00
parent 25ddac349b
commit 8720c35f23

View File

@@ -1844,6 +1844,13 @@ export function AudioEditor() {
return;
}
// S: Split at cursor
if (e.key === 's' && !e.ctrlKey && !e.metaKey) {
e.preventDefault();
handleSplitAtCursor();
return;
}
// ?: Open keyboard shortcuts help
if (e.key === '?' && !e.ctrlKey && !e.metaKey) {
e.preventDefault();