vim: Exit temporary normal after scroll (#32653)
Closes #ISSUE Release Notes: - vim: Exit temporary normal after scrolling
This commit is contained in:
parent
f227c2ff0c
commit
0fe35f440d
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ impl Vim {
|
||||||
) {
|
) {
|
||||||
let amount = by(Vim::take_count(cx).map(|c| c as f32));
|
let amount = by(Vim::take_count(cx).map(|c| c as f32));
|
||||||
Vim::take_forced_motion(cx);
|
Vim::take_forced_motion(cx);
|
||||||
|
self.exit_temporary_normal(window, cx);
|
||||||
self.update_editor(window, cx, |_, editor, window, cx| {
|
self.update_editor(window, cx, |_, editor, window, cx| {
|
||||||
scroll_editor(editor, move_cursor, &amount, window, cx)
|
scroll_editor(editor, move_cursor, &amount, window, cx)
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue