zed icon indicating copy to clipboard operation
zed copied to clipboard

Agent Panel: Conflict between Inline Assistant and Assistant Panel ctrl+enter keybind

Open G36maid opened this issue 7 months ago • 4 comments

Summary

Ctrl+Enter triggers Inline Assistant instead of submitting in Assistant Panel in Zed 0.183.11-1

Description

In Zed 0.183.11-1, there is a conflict between the keybinds for Inline Assistant and the Assistant Panel — both use Ctrl+Enter.

Steps to trigger the problem:

  1. Open the Assistant Panel.
  2. Write a prompt inside the panel.
  3. Press Ctrl+Enter.

Actual Behavior:

  • Pressing Ctrl+Enter toggles the Inline Assistant inside the panel instead of submitting the prompt to the LLM agent.

Expected Behavior:

  • Pressing Ctrl+Enter inside the Assistant Panel should submit the request to the LLM agent, as it did in previous versions of Zed (before 0.183.11-1).

LLM Provider:

All

  • (Please fill in, e.g., OpenAI / Anthropic / Local model, etc.)

Model Name:

All

  • (Please fill in, e.g., GPT-4 / Claude 3 / custom model, etc.)

Zed Version and System Specs

Zed: v0.183.11 (Zed) OS: Linux Wayland arch unknown Memory: 30.7 GiB Architecture: x86_64 GPU: AMD Radeon 780M (RADV PHOENIX) || radv || Mesa 25.0.4-arch1.1

G36maid avatar Apr 28 '25 10:04 G36maid

Hey @G36maid, can you try v0.183.12 that was just released today and see if this issue is fixed for you?

JosephTLyons avatar Apr 29 '25 15:04 JosephTLyons

I ran into this but my colleague did not experience this issue, until we realised OSX uses cmd-enter and ctrl-enter to differentiate these two actions, but it's the same keybind to "send chat to assistant" and "toggle inline assistant" on linux.

Will test as soon as available from AUR

martinstark avatar Apr 30 '25 10:04 martinstark

@JosephTLyons dunno about 0.183.12 but can confirm its fixed in 0.184.8

davc0n avatar May 01 '25 06:05 davc0n

I had the same issue on 0.183.11, can confirm it's fixed in 0.184.8.

zjeffer avatar May 01 '25 16:05 zjeffer

I can confirm it's fixed in 0.184.8 on arch linux. Thanks!

G36maid avatar May 02 '25 14:05 G36maid