Keyboard shortcuts not working in AI Chat Editor

When you are in the AI Chat editor many Keyboard shortcuts do not work anymore.
The most annoying one is ‘cmd + b’ that I use to toggle on/off the primary side bar for gaining horizontal space on a small notebook screen does not work when I’m reading long AI responses.

Also it would be nice that ‘cmd + l’ (that’s lower L) that’s used to toggle on/off the AI Chat editor worked to toggle it off, it only works to make it visible + focusing on the chat editor but not for removing it.

I understand that this is related to be focused on the AI Chat editor but does not seems logic to me that this is not considered to avoid using the mouse/trackpad just for this actions.

Anyway keep up the great work, thanks!

1 Like

Hi @bernigf!

Thanks for the feedback. Which Cursor version are you using? We’ve updated the logic of Cmd+L to close the chat as well recently.

1 Like

Great, just in case this is the version I’m running

Version: 0.32.2
VSCode Version: 1.86.2
Commit: f8ed437267c50dbc975beb3d51f89c800277bb30
Date: 2024-04-17T09:01:02.813Z
Electron: 27.2.3
ElectronBuildId: undefined
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin x64 23.3.0

I’d like to follow up on this. Using ctrl+l to close the chat works for me. But I’d like to leave the chat open and switch focus to the editor. Normally I’d do this with ctrl+1. But this does not work when I’m in the chat window.

Is there a workaround?

Well right now it’s working fine when pressing CTRL+L or CMD+L, it shows and hide the chat panel
HOWEVER when pressing CMD+L to hide the panel is doing something weird, it only hides the panel when the prompt text is empty so now at the first CMD+L it will clear the prompt (not cool because you loose whatever you type there) and at the second attempt it will indeed hide the chat panel.

This is the version I’m using

Version: 0.41.3
VSCode Version: 1.91.1
Commit: 51c8aff7cb5a89f4a0e462fbacab938bdbfaf140
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.0.0