Command-K does not open the "Generate in Terminal" popup window

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

K opens the “Generate in Terminal” popup window in the integrated terminal, but not in a terminal window opened in the editor area. This shortcut used to work until a few weeks ago.

The current behavior is that the following message appears in the Status Bar:

K was pressed. Waiting for the second key of the chord…

Steps to Reproduce

Press K in a terminal window that is open in the editor area.

Expected Behavior

Open the “Generate in Terminal” popup window.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.17
VSCode Version: 1.99.3
Commit: 34881053400013f38e2354f1479c88c9067039a0
Date: 2025-09-29T03:10:26.099Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, it looks like you have a shortcut set for this. If you didn’t change anything, the issue might be caused by one of your extensions.

Thanks for getting back to me.

I disabled all extensions, but I still experience the same behavior. I also checked my keyboard shortcuts and didn’t find anything that overrides Command-K when the terminal is in focus.

Same issue after updating Cursor. Nothing in my personal JSON shortcuts. But I see in the default shortcuts JSON file that there are a bunch of cmd+k chord entries.

Please note that changing the shortcut for “Generate in Terminal” to something unique does not resolve the issue, so I think the when conditions may need to be adjusted.
My “Inspect Context Keys” feature is not working for some reason, so I cannot test that hypothesis.

It looks like “Inspect Context Keys” is broken in Cursor:

@deanrie Can you please “Create New Terminal in Editor Area” from the command palette and check whether Command-K works as expected on your end?

Yes, in this case it doesn’t work, but if you drag the terminal into the editor area it works. Thanks for the extra info, we’ll look into it.

1 Like

Same issue here - command-ky stops bringing up the generate box after a while (in terminal). The only solution so far is creating new terminal session, which restores the functionality for a while. restarting or updating cursor doesn’t do anything (last 4 times i’ve tried)

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