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 vim-style completion bindings:

Conrad Irwin51b24bbaf369
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json
index 4dbc4ce17f4..f5d11dab99b 100644
--- a/assets/keymaps/vim.json
+++ b/assets/keymaps/vim.json
@@ -572,7 +572,12 @@
"bindings": {
"escape": "vim::NormalBefore",
"ctrl-c": "vim::NormalBefore",
- "ctrl-[": "vim::NormalBefore"
+ "ctrl-[": "vim::NormalBefore",
+ "ctrl-x ctrl-o": "editor::ShowCompletions",
+ "ctrl-x ctrl-a": "assistant::InlineAssist", // zed specific
+ "ctrl-x ctrl-c": "copilot::Suggest", // zed specific
+ "ctrl-x ctrl-l": "editor::ToggleCodeActions", // zed specific
+ "ctrl-x ctrl-z": "editor::Cancel"
}
},
{