Fix `cmd-c` not copying text inside macOS notebook cell editors. Previously, the macOS notebook keymap bound `cmd-c` to `notebook::InterruptKernel` in notebook contexts, including `NotebookEditor > Editor`. This shadowed the normal editor copy shortcut while editing notebook cells. ## Solution Move the macOS notebook interrupt shortcut from `cmd-c` to `ctrl-c`. This keeps the notebook interrupt shortcut available while allowing the normal editor keybindings to handle: - `cmd-c` for copy - `cmd-x` for cut - `cmd-v` for paste inside notebook cell editors. - This change is macOS-specific. Release Notes: - N/A ---------
Unified · Split
| @@ -1495,7 +1495,6 @@ · 1494 unmodified lines | ||
| 1495 | 1495 | "ctrl-m": "notebook::AddCodeBlock", |
| 1496 | 1496 | "ctrl-shift-m": "notebook::AddMarkdownBlock", |
| 1497 | 1497 | "ctrl-shift-r": "notebook::RestartKernel", |
| 1498 | − "ctrl-c": "notebook::InterruptKernel", | |
| 1499 | 1498 | "escape": "notebook::EnterCommandMode", |
| 1500 | 1499 | }, |
| 1501 | 1500 | }, |
| @@ -1633,7 +1633,6 @@ · 1632 unmodified lines | ||
| 1633 | 1633 | "cmd-m": "notebook::AddCodeBlock", |
| 1634 | 1634 | "cmd-shift-m": "notebook::AddMarkdownBlock", |
| 1635 | 1635 | "cmd-shift-r": "notebook::RestartKernel", |
| 1636 | − "cmd-c": "notebook::InterruptKernel", | |
| 1637 | 1636 | "escape": "notebook::EnterCommandMode", |
| 1638 | 1637 | }, |
| 1639 | 1638 | }, |
| @@ -1558,7 +1558,6 @@ · 1557 unmodified lines | ||
| 1558 | 1558 | "ctrl-m": "notebook::AddCodeBlock", |
| 1559 | 1559 | "ctrl-shift-m": "notebook::AddMarkdownBlock", |
| 1560 | 1560 | "ctrl-shift-r": "notebook::RestartKernel", |
| 1561 | − "ctrl-c": "notebook::InterruptKernel", | |
| 1562 | 1561 | "escape": "notebook::EnterCommandMode", |
| 1563 | 1562 | }, |
| 1564 | 1563 | }, |