From 8720c35f236ac8f42d69ec0a0d93fb341586d5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Thu, 20 Nov 2025 07:56:02 +0100 Subject: [PATCH] fix: add missing 'S' keyboard shortcut for split at cursor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- components/editor/AudioEditor.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/editor/AudioEditor.tsx b/components/editor/AudioEditor.tsx index 5c769fe..d7c4e3f 100644 --- a/components/editor/AudioEditor.tsx +++ b/components/editor/AudioEditor.tsx @@ -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();