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
2025-04-08 09:03:55 -06:00
committed by GitHub
parent 64f8b1e739
commit cbd9b4cc39
+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(