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 C-w and C-u keymaps in vim mode (Fix #7691) (#7736)

Yohannecd9b93cb1d3
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json
index 5513c55da8d..2d6f7ae30c1 100644
--- a/assets/keymaps/vim.json
+++ b/assets/keymaps/vim.json
@@ -485,7 +485,9 @@
"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"
+ "ctrl-x ctrl-z": "editor::Cancel",
+ "ctrl-w": "editor::DeleteToPreviousWordStart",
+ "ctrl-u": "editor::DeleteToBeginningOfLine"
}
},
{