Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Accept edit predictions with `alt-tab` in addition to `tab` (#24272)
Agus Zubiagac252b5db169f
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.jsonindex 83c716bf2ba..ac4d604feea 100644--- a/assets/keymaps/default-linux.json+++ b/assets/keymaps/default-linux.json@@ -503,17 +503,17 @@}},{- "context": "Editor && inline_completion && !showing_completions",- "use_key_equivalents": true,+ "context": "Editor && inline_completion","bindings": {- "tab": "editor::AcceptInlineCompletion"+ // Changing the modifier currently breaks accepting while you also an LSP completions menu open+ "alt-enter": "editor::AcceptInlineCompletion"}},{- "context": "Editor && inline_completion && showing_completions",+ "context": "Editor && inline_completion && !showing_completions",+ "use_key_equivalents": true,"bindings": {- // Currently, changing this binding breaks the preview behavior- "alt-enter": "editor::AcceptInlineCompletion"+ "tab": "editor::AcceptInlineCompletion"}},{diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.jsonindex 934373b6757..e865bc14ad4 100644--- a/assets/keymaps/default-macos.json+++ b/assets/keymaps/default-macos.json@@ -580,17 +580,17 @@}},{- "context": "Editor && inline_completion && !showing_completions",- "use_key_equivalents": true,+ "context": "Editor && inline_completion","bindings": {- "tab": "editor::AcceptInlineCompletion"+ // Changing the modifier currently breaks accepting while you also an LSP completions menu open+ "alt-tab": "editor::AcceptInlineCompletion"}},{- "context": "Editor && inline_completion && showing_completions",+ "context": "Editor && inline_completion && !showing_completions",+ "use_key_equivalents": true,"bindings": {- // Currently, changing this binding breaks the preview behavior- "alt-tab": "editor::AcceptInlineCompletion"+ "tab": "editor::AcceptInlineCompletion"}},{