From 4d22a07a1e90214a254f4d9d94c15d7428a96f92 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Fri, 6 Dec 2024 16:43:12 -0700 Subject: [PATCH] Remove last few alt- bindings (#21669) Although I hoped we could keep the non-ascii alt characters, it turns out this is not the case for all keyboards. Fixes #21175 Release Notes: - (breaking change) editor::ShowInlineCompetion is now `option-tab` on macOS (not `option-/`). editor::{Next,Previous}Completion are `option-tab` and `option-shift-tab` (not `option-[` and `option-]`). This fixes typing characters generated by option-{/,[,]} on keyboards like Croatian. --- assets/keymaps/default-macos.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index 33c32035d9f688..f54216712e075b 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -153,8 +153,8 @@ "context": "Editor && mode == full && inline_completion", "use_key_equivalents": true, "bindings": { - "alt-]": "editor::NextInlineCompletion", - "alt-[": "editor::PreviousInlineCompletion", + "alt-tab": "editor::NextInlineCompletion", + "alt-shift-tab": "editor::PreviousInlineCompletion", "ctrl-right": "editor::AcceptPartialInlineCompletion" } }, @@ -162,7 +162,7 @@ "context": "Editor && !inline_completion", "use_key_equivalents": true, "bindings": { - "alt-\\": "editor::ShowInlineCompletion" + "alt-tab": "editor::ShowInlineCompletion" } }, {