From ec7e9dc1cc8497226e0e2df5a3943d28b361ad40 Mon Sep 17 00:00:00 2001 From: Kunall Banerjee Date: Fri, 6 Feb 2026 21:54:04 -0500 Subject: [PATCH] keymap_editor: Add `alt-l` keybinding for cycling favorite models (#48390) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `alt-tab` keybinding doesn’t work properly under the `AgentPanel` context on Windows and certain Linux distros, so `alt-l` is provided as an alternative for the same action. In my testing, I could not trigger the `AcpThread > Editor` context, but I added the keybinding there too just in case. Closes #48347. Release Notes: - Added an alternate keybinding for `agent::CycleFavoriteModels` on Linux and Windows to prevent conflict with global app switcher --- assets/keymaps/default-linux.json | 4 ++++ assets/keymaps/default-windows.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index ca154e22b05f5358fab58678f5af52b503160c26..535774cbc92dc62e59642a689199589186d1639f 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -249,6 +249,8 @@ "ctrl-i": "agent::ToggleProfileSelector", "ctrl-alt-/": "agent::ToggleModelSelector", "alt-tab": "agent::CycleFavoriteModels", + // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Linux under the `AgentPanel` context + "alt-l": "agent::CycleFavoriteModels", "ctrl-shift-j": "agent::ToggleNavigationMenu", "ctrl-alt-i": "agent::ToggleOptionsMenu", "ctrl-alt-shift-n": "agent::ToggleNewThreadMenu", @@ -316,6 +318,8 @@ "ctrl-i": "agent::ToggleProfileSelector", "shift-tab": "agent::CycleModeSelector", "alt-tab": "agent::CycleFavoriteModels", + // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Linux under the `AcpThread > Editor` context + "alt-l": "agent::CycleFavoriteModels", "ctrl-;": "agent::OpenAddContextMenu", "ctrl-alt-k": "agent::ToggleThinkingMode", }, diff --git a/assets/keymaps/default-windows.json b/assets/keymaps/default-windows.json index 69235b47a58870e3418a04927599ecba5ba180c7..7b4c4cd7de7d71859079311a2e8513a25ff2ec79 100644 --- a/assets/keymaps/default-windows.json +++ b/assets/keymaps/default-windows.json @@ -249,6 +249,8 @@ "shift-alt-p": "agent::ManageProfiles", "ctrl-i": "agent::ToggleProfileSelector", "alt-tab": "agent::CycleFavoriteModels", + // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Windows under the `AgentPanel` context + "alt-l": "agent::CycleFavoriteModels", "shift-alt-/": "agent::ToggleModelSelector", "shift-alt-j": "agent::ToggleNavigationMenu", "shift-alt-i": "agent::ToggleOptionsMenu", @@ -317,7 +319,9 @@ "ctrl-shift-v": "agent::PasteRaw", "ctrl-i": "agent::ToggleProfileSelector", "shift-tab": "agent::CycleModeSelector", + // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Windows under the `AcpThread > Editor` context "alt-tab": "agent::CycleFavoriteModels", + "alt-l": "agent::CycleFavoriteModels", "ctrl-;": "agent::OpenAddContextMenu", "ctrl-alt-k": "agent::ToggleThinkingMode", },