Keyboard shortcuts for Agent

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m having a fair amount of issues working in the cursor IDE with the older chat and new agent/chat windows clashing .

The agent window has the sidebar containing the history of chats and it’s own chat window, but using the keyboard shortcuts like “CMD + Shift + L” to add context from selected code opens up the older chat window which is not included in that panel and has a UI rendering issue where the bottom is cut off below the status bar.

Steps to Reproduce

  • Open the Cursor IDE.
  • Open the Agent window (right hand sidebar) and create a new agent. This creates a new chat window.
  • Open a code file and select a block of text. Use the Cmd Shift L Add selection to Chat to add that selected block as context.
  • Instead of adding that selected block of text to your current window as context, a new chat window is opened and added there instead, resulting in two windows open.

Expected Behavior

The selected block of text should be added to your current agent chat window.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20 (Universal)
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

For AI issues: which model did you use?

Not applicable

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report.

This looks like a bug in the integration between the new Agent and the old shortcuts. CMD+Shift+L should add context to the active Agent window, not open the old chat window.

I’ll pass this to the engineering team. As a temporary workaround, you can manually copy code into the Agent window or use @ mentions to add files to the context.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.