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.

Cursor keymap: Add cmd-enter to submit inline assistant (#32295)

Tommy D. Rossi1552198b55f1
diff --git a/assets/keymaps/macos/cursor.json b/assets/keymaps/macos/cursor.json
index 62981a5f669..5d26974f056 100644
--- a/assets/keymaps/macos/cursor.json
+++ b/assets/keymaps/macos/cursor.json
@@ -28,7 +28,8 @@
"context": "InlineAssistEditor",
"use_key_equivalents": true,
"bindings": {
- "cmd-shift-backspace": "editor::Cancel"
+ "cmd-shift-backspace": "editor::Cancel",
+ "cmd-enter": "menu::Confirm"
// "alt-enter": // Quick Question
// "cmd-shift-enter": // Full File Context
// "cmd-shift-k": // Toggle input focus (editor <> inline assist)