From 8bd8435887b2e3c6ad70e775a9fee3b27e45ebc8 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Thu, 5 Jun 2025 15:21:06 -0600 Subject: [PATCH] Fix default keybindings for `AcceptPartialEditPrediction` to work in subtle mode (#32193) Closes #27567 Release Notes: - Fixed default keybindings for `editor::AcceptPartialEditPrediction` to work with subtle mode. Co-authored-by: Richard --- assets/keymaps/default-linux.json | 9 +++++---- assets/keymaps/default-macos.json | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index db1cd257ae..e88cefa157 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -153,8 +153,7 @@ "context": "Editor && mode == full && edit_prediction", "bindings": { "alt-]": "editor::NextEditPrediction", - "alt-[": "editor::PreviousEditPrediction", - "alt-right": "editor::AcceptPartialEditPrediction" + "alt-[": "editor::PreviousEditPrediction" } }, { @@ -662,14 +661,16 @@ "bindings": { "alt-tab": "editor::AcceptEditPrediction", "alt-l": "editor::AcceptEditPrediction", - "tab": "editor::AcceptEditPrediction" + "tab": "editor::AcceptEditPrediction", + "alt-right": "editor::AcceptPartialEditPrediction" } }, { "context": "Editor && edit_prediction_conflict", "bindings": { "alt-tab": "editor::AcceptEditPrediction", - "alt-l": "editor::AcceptEditPrediction" + "alt-l": "editor::AcceptEditPrediction", + "alt-right": "editor::AcceptPartialEditPrediction" } }, { diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index acf024a0a1..b21593654a 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -181,8 +181,7 @@ "use_key_equivalents": true, "bindings": { "alt-tab": "editor::NextEditPrediction", - "alt-shift-tab": "editor::PreviousEditPrediction", - "ctrl-cmd-right": "editor::AcceptPartialEditPrediction" + "alt-shift-tab": "editor::PreviousEditPrediction" } }, { @@ -719,14 +718,16 @@ "context": "Editor && edit_prediction", "bindings": { "alt-tab": "editor::AcceptEditPrediction", - "tab": "editor::AcceptEditPrediction" + "tab": "editor::AcceptEditPrediction", + "ctrl-cmd-right": "editor::AcceptPartialEditPrediction" } }, { "context": "Editor && edit_prediction_conflict", "use_key_equivalents": true, "bindings": { - "alt-tab": "editor::AcceptEditPrediction" + "alt-tab": "editor::AcceptEditPrediction", + "ctrl-cmd-right": "editor::AcceptPartialEditPrediction" } }, {