Switch back to the default mode after paste (#28304)

Now that the flaky tests are disabled, this should work...

Release Notes:

- Fixed vim paste action to switch back to the configured default mode.
This commit is contained in:
jneem authored and GitHub committed 2025-04-08 09:03:55 -06:00
1 parent f56ffb9d66
commit 024e6d85fa
1 file changed
+2 -1
+2 -1
View File
@@ -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(