Skip to content

[BUG] New keyboard shortcut conflicts with Redo standard shortcut #8652

@swythan

Description

@swythan

Problem (one or two sentences)

PR #7908 added a mapping from Ctrl+Y (on Windows, similar on other platforms) to be "Add to Context".

Ctrl+Y is a standard shortcut for the Redo operation. See the VS Code Default Keyboard Shortcuts docs (where it is 12th on the list).

Image

Context (who is affected and when)

Anyone with Roo Code installed who is used to using Ctrl+Y as a shortcut for Redo in the editor.

Reproduction steps

  1. Install Roo Code
  2. Open a text file in a workspace
  3. Make some edits in the file
  4. Use Ctrl+Z to undo the edits
  5. Use Ctrl+Y to (attempt to) redo the edits

Expected result

Edits removed via Undo are restored (via Redo)

Actual result

A reference to the current cursor position is added to the Roo Code input window

Variations tried (optional)

No response

App Version

3.28.16

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions