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.

Add key binding for `editor: open selections in multibuffer` (#23648)

Joseph T. Lyons7c0a39daa6fe
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index 5cba4686b8c..70aab85faba 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -122,7 +122,8 @@
"ctrl-i": "editor::ShowSignatureHelp",
"alt-g b": "editor::ToggleGitBlame",
"menu": "editor::OpenContextMenu",
- "shift-f10": "editor::OpenContextMenu"
+ "shift-f10": "editor::OpenContextMenu",
+ "alt-enter": "editor::OpenSelectionsInMultibuffer"
}
},
{
diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json
index a0cc388f96a..0538312f3d1 100644
--- a/assets/keymaps/default-macos.json
+++ b/assets/keymaps/default-macos.json
@@ -132,7 +132,8 @@
"cmd-alt-g b": "editor::ToggleGitBlame",
"cmd-i": "editor::ShowSignatureHelp",
"ctrl-f12": "editor::GoToDeclaration",
- "alt-ctrl-f12": "editor::GoToDeclarationSplit"
+ "alt-ctrl-f12": "editor::GoToDeclarationSplit",
+ "alt-enter": "editor::OpenSelectionsInMultibuffer"
}
},
{