Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Honor default_mode in NormalBefore (#29518)
jneembf30beacc28e
diff --git a/crates/vim/src/insert.rs b/crates/vim/src/insert.rsindex 561ceec0a8d..983ed1ef798 100644--- a/crates/vim/src/insert.rs+++ b/crates/vim/src/insert.rs@@ -36,7 +36,7 @@ impl Vim {});});});- self.switch_mode(Mode::Normal, false, window, cx);+ self.switch_mode(self.default_mode(cx), false, window, cx);return;}