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.

Fix enter in branch view (#34731)

Conrad Irwin43486c416c2b
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index 8e670314853..6aba27fec8f 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -928,7 +928,7 @@
}
},
{
- "context": "GitPanel > Editor",
+ "context": "CommitEditor > Editor",
"bindings": {
"escape": "git_panel::FocusChanges",
"tab": "git_panel::FocusChanges",
diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json
index 70edee8534b..6bce3b0f28c 100644
--- a/assets/keymaps/default-macos.json
+++ b/assets/keymaps/default-macos.json
@@ -975,7 +975,7 @@
}
},
{
- "context": "GitPanel > Editor",
+ "context": "CommitEditor > Editor",
"use_key_equivalents": true,
"bindings": {
"enter": "editor::Newline",