Skip to content

Conversation

roomote[bot]
Copy link

@roomote roomote bot commented Oct 14, 2025

Description

This PR fixes the keyboard shortcut conflict reported in #8652 where the "Add to Context" shortcut (Ctrl+Y/Cmd+Y) was overriding VS Code's standard Redo operation.

Changes

  • Changed the "Add to Context" keyboard shortcut from:
    • Windows/Linux: Ctrl+YCtrl+K Ctrl+A
    • Mac: Cmd+YCmd+K Cmd+A

Why this change?

The previous shortcut conflicted with VS Code's standard Redo operation, which is a commonly used feature. The new chord combination (Ctrl+K Ctrl+A / Cmd+K Cmd+A) follows VS Code's convention for chord shortcuts and won't conflict with any standard operations.

Testing

  • ✅ All existing tests pass (294 test files, 3858 tests)
  • ✅ Type checking passes
  • ✅ Linting passes

Breaking Change

⚠️ Users who have become accustomed to using Ctrl+Y/Cmd+Y for "Add to Context" will need to adapt to the new shortcut Ctrl+K Ctrl+A/Cmd+K Cmd+A.

Fixes #8652


Important

Change Add to Context keybinding to Ctrl+K Ctrl+A/Cmd+K Cmd+A in src/package.json to avoid conflict with Redo.

  • Keybinding Change:
    • Changed roo-cline.addToContext keybinding in src/package.json from Ctrl+Y/Cmd+Y to Ctrl+K Ctrl+A/Cmd+K Cmd+A.
    • Resolves conflict with VS Code's Redo operation.
  • Testing:
    • All existing tests pass (294 test files, 3858 tests).
    • Type checking and linting pass.
  • Breaking Change:
    • Users must adapt to the new shortcut Ctrl+K Ctrl+A/Cmd+K Cmd+A.

This description was created by Ellipsis for 7171d03. You can customize this summary. It will automatically update as commits are pushed.

Fixes #8652

Changed the keyboard shortcut for "Add to Context" from Ctrl+Y/Cmd+Y
to Ctrl+K Ctrl+A (Cmd+K Cmd+A on Mac) to avoid conflicting with the
standard Redo operation in VS Code.
@roomote roomote bot requested review from cte, jr and mrubens as code owners October 14, 2025 11:38
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Oct 14, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

[BUG] New keyboard shortcut conflicts with Redo standard shortcut

2 participants