Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Switch back to the default mode after paste (#28304)
jneemcbd9b4cc39da
diff --git a/crates/vim/src/normal/paste.rs b/crates/vim/src/normal/paste.rsindex 3f3e27c4579..2aaa2a4b7cd 100644--- a/crates/vim/src/normal/paste.rs+++ b/crates/vim/src/normal/paste.rs@@ -203,7 +203,8 @@ impl Vim {})});});- self.switch_mode(Mode::Normal, true, window, cx);++ self.switch_mode(self.default_mode(cx), true, window, cx);}pub fn replace_with_register_object(