vim: Exit temporary normal after scroll (#32653)

Closes #ISSUE

Release Notes:

- vim: Exit temporary normal after scrolling
This commit is contained in:
Conrad Irwin 2025-06-12 22:07:32 -06:00 committed by GitHub
parent f227c2ff0c
commit 0fe35f440d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,6 +56,7 @@ impl Vim {
) {
let amount = by(Vim::take_count(cx).map(|c| c as f32));
Vim::take_forced_motion(cx);
self.exit_temporary_normal(window, cx);
self.update_editor(window, cx, |_, editor, window, cx| {
scroll_editor(editor, move_cursor, &amount, window, cx)
});