toggleAuxiliaryBar (hide chat pane) keyboard shortcuts don't work when the chat input has focus
There seems to currently be no way to hide the chat pane when the chat input field has focus. As described here: https://github.com/getcursor/cursor/issues/833#issuecomment-1772606399
I would like something like this to work:
{
"key": "cmd+l",
"command": "workbench.action.toggleAuxiliaryBar",
"when": "auxiliaryBarFocus"
}
Interestingly the default shortcut for this ("cmd+alt+b") seems to work even when the chat input has focus. Maybe the "when" condition is wrong? I tried to figure it out using the "inspect context keys" feature but that doesn't seem to work at all (don't print anything to the console).
I have the same issue. I and it is really interesting to see that it works the way I want it to work with the default shortcut. As soon as I want to change it to command shift b, it stops working. Have you been able to find a workaround? @garymm
also @jakobFNF any updates for the issue you mentioned in the linked comment above about addressing shortcuts getting blocked when focus on the chat window?
{
"key": "shift+cmd+b",
"command": "workbench.action.toggleAuxiliaryBar"
},
It works for me with these keybindings:
{ "key": "ctrl+q","command": "aichat.newfollowupaction", "when": "editorFocus" },
{
"key": "ctrl+q",
"command": "workbench.action.toggleAuxiliaryBar",
}
It works for me with these keybindings:
{ "key": "ctrl+q","command": "aichat.newfollowupaction", "when": "editorFocus" }, { "key": "ctrl+q", "command": "workbench.action.toggleAuxiliaryBar", }
Cannot confirm this working. I can press CTRL+Q to open it, but I cannot close it because the chat is in focus.
it works for me ¯_(ツ)_/¯
It works for me with these keybindings:
{ "key": "ctrl+q","command": "aichat.newfollowupaction", "when": "editorFocus" }, { "key": "ctrl+q", "command": "workbench.action.toggleAuxiliaryBar", }Cannot confirm this working. I can press CTRL+Q to open it, but I cannot close it because the chat is in focus.
This also doesn't work for me. There are multiple bindings that don't work with chat input focused (alt-i, alt-o, cmd-o). For some reason, alt-t does.
Also, it's not just toggleAuxiliaryBar that doesn't work. It seems to be a problem with the bindings themselves for me
I wrote more about this on a different issue: https://github.com/getcursor/cursor/issues/1685#issuecomment-2434293516