Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

keymaps: Fix accept edit predictions key binding collisions (#48184)

Lukas Wirth4c0e3485882e
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index 1ba2968558d..2becf8daee3 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -737,8 +737,8 @@
"alt-tab": "editor::AcceptEditPrediction",
"alt-l": "editor::AcceptEditPrediction",
"tab": "editor::AcceptEditPrediction",
- "ctrl-shift-right": "editor::AcceptNextWordEditPrediction",
- "ctrl-shift-down": "editor::AcceptNextLineEditPrediction",
+ "alt-k": "editor::AcceptNextWordEditPrediction",
+ "alt-j": "editor::AcceptNextLineEditPrediction",
},
},
{
@@ -746,8 +746,8 @@
"bindings": {
"alt-tab": "editor::AcceptEditPrediction",
"alt-l": "editor::AcceptEditPrediction",
- "ctrl-shift-right": "editor::AcceptNextWordEditPrediction",
- "ctrl-shift-down": "editor::AcceptNextLineEditPrediction",
+ "alt-k": "editor::AcceptNextWordEditPrediction",
+ "alt-j": "editor::AcceptNextLineEditPrediction",
},
},
{
diff --git a/assets/keymaps/default-windows.json b/assets/keymaps/default-windows.json
index fbd634751d8..373befeee7f 100644
--- a/assets/keymaps/default-windows.json
+++ b/assets/keymaps/default-windows.json
@@ -733,8 +733,8 @@
"alt-tab": "editor::AcceptEditPrediction",
"alt-l": "editor::AcceptEditPrediction",
"tab": "editor::AcceptEditPrediction",
- "ctrl-shift-right": "editor::AcceptNextWordEditPrediction",
- "ctrl-shift-down": "editor::AcceptNextLineEditPrediction",
+ "alt-k": "editor::AcceptNextWordEditPrediction",
+ "alt-j": "editor::AcceptNextLineEditPrediction",
},
},
{
@@ -743,8 +743,8 @@
"bindings": {
"alt-tab": "editor::AcceptEditPrediction",
"alt-l": "editor::AcceptEditPrediction",
- "ctrl-shift-right": "editor::AcceptNextWordEditPrediction",
- "ctrl-shift-down": "editor::AcceptNextLineEditPrediction",
+ "alt-k": "editor::AcceptNextWordEditPrediction",
+ "alt-j": "editor::AcceptNextLineEditPrediction",
},
},
{