fix: change Add to Context keybinding to avoid Redo conflict #8653
+4
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Ctrl+Y
→Ctrl+K Ctrl+A
Cmd+Y
→Cmd+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
Breaking Change
Ctrl+Y
/Cmd+Y
for "Add to Context" will need to adapt to the new shortcutCtrl+K Ctrl+A
/Cmd+K Cmd+A
.Fixes #8652
Important
Change
Add to Context
keybinding toCtrl+K Ctrl+A
/Cmd+K Cmd+A
insrc/package.json
to avoid conflict with Redo.roo-cline.addToContext
keybinding insrc/package.json
fromCtrl+Y
/Cmd+Y
toCtrl+K Ctrl+A
/Cmd+K Cmd+A
.Ctrl+K Ctrl+A
/Cmd+K Cmd+A
.This description was created by
for 7171d03. You can customize this summary. It will automatically update as commits are pushed.