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: Update no action bindings to null (#54506)

Dinoc5354fe056c4
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index af1fb028436..a72cd743596 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -748,7 +748,9 @@
{
"context": "Workspace && debugger_running",
"bindings": {
- "f5": "zed::NoAction",
+ // Unbind `f5` to avoid dispatching the `debugger::Rerun` as that is what `f5` is bound to in the `Workspace`
+ // context.
+ "f5": null,
},
},
{
diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json
index 7edfd53a73b..4f26eeeb8b3 100644
--- a/assets/keymaps/default-macos.json
+++ b/assets/keymaps/default-macos.json
@@ -805,7 +805,9 @@
"context": "Workspace && debugger_running",
"use_key_equivalents": true,
"bindings": {
- "f5": "zed::NoAction",
+ // Unbind `f5` to avoid dispatching the `debugger::Rerun` as that is what `f5` is bound to in the `Workspace`
+ // context.
+ "f5": null,
"f11": "debugger::StepInto",
},
},
diff --git a/assets/keymaps/default-windows.json b/assets/keymaps/default-windows.json
index a4196bd8e0c..8651bfbe3b4 100644
--- a/assets/keymaps/default-windows.json
+++ b/assets/keymaps/default-windows.json
@@ -706,7 +706,9 @@
"context": "Workspace && debugger_running",
"use_key_equivalents": true,
"bindings": {
- "f5": "zed::NoAction",
+ // Unbind `f5` to avoid dispatching the `debugger::Rerun` as that is what `f5` is bound to in the `Workspace`
+ // context.
+ "f5": null,
},
},
{