Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
vim: Escape to normal mode when visual surround operation pending (#24484)
roycrippen4d9183c7669a0
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.jsonindex af1822d706a..aa3e44892c1 100644--- a/assets/keymaps/vim.json+++ b/assets/keymaps/vim.json@@ -381,6 +381,12 @@"ctrl-q": ["vim::PushLiteral", {}]}},+ {+ "context": "Editor && vim_mode == waiting && (vim_operator == ys || vim_operator == cs)",+ "bindings": {+ "escape": "vim::SwitchToNormalMode"+ }+ },{"context": "vim_mode == operator","bindings": {