From 739236e96890d6ee2a08cabb03fa75e1da20ce6e Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Mon, 12 May 2025 08:45:52 -0300 Subject: [PATCH] agent: Fix message editor expand binding (#30553) As of https://github.com/zed-industries/zed/pull/30504, we now can zoom in the whole panel, which uses the `shift-escape` keybinding. We were also using the same binding for the message editor expansion, which was caused a conflict. Now, the message editor expansion requires an additional key (`alt`) to work. Release Notes: - agent: Fixed conflicting keybinding between message editor and panel zoom. --- assets/keymaps/default-linux.json | 2 +- assets/keymaps/default-macos.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index c93ba23cd6..e2cf7090c6 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -244,7 +244,7 @@ "ctrl-shift-a": "agent::ToggleContextPicker", "ctrl-shift-o": "agent::ToggleNavigationMenu", "ctrl-shift-i": "agent::ToggleOptionsMenu", - "shift-escape": "agent::ExpandMessageEditor", + "shift-alt-escape": "agent::ExpandMessageEditor", "ctrl-alt-e": "agent::RemoveAllContext", "ctrl-shift-e": "project_panel::ToggleFocus" } diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index a54fcfbdaa..26631c2721 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -290,7 +290,7 @@ "cmd-shift-a": "agent::ToggleContextPicker", "cmd-shift-o": "agent::ToggleNavigationMenu", "cmd-shift-i": "agent::ToggleOptionsMenu", - "shift-escape": "agent::ExpandMessageEditor", + "shift-alt-escape": "agent::ExpandMessageEditor", "cmd-alt-e": "agent::RemoveAllContext", "cmd-shift-e": "project_panel::ToggleFocus" }