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 ctrl-c in vim normal mode (#29167)

Conrad Irwin32e9757a8527
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json
index 24147048a81..6bb8e01ab04 100644
--- a/assets/keymaps/vim.json
+++ b/assets/keymaps/vim.json
@@ -830,5 +830,13 @@
// and Windows.
"alt-l": "editor::AcceptEditPrediction"
}
+ },
+ {
+ // Fixes https://github.com/zed-industries/zed/issues/29095 by ensuring that
+ // the last binding for editor::ToggleComments is not ctrl-c.
+ "context": "hack_to_fix_ctrl-c",
+ "bindings": {
+ "g c": "editor::ToggleComments"
+ }
}
]