vim: o should scroll (#20054)
Closes: #19684 Release Notes: - vim: Fixed `o` not scrolling new head into view
This commit is contained in:
parent
f757e5a6c3
commit
daa9939c03
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ impl Vim {
|
|||
|
||||
pub fn other_end(&mut self, _: &OtherEnd, cx: &mut ViewContext<Self>) {
|
||||
self.update_editor(cx, |_, editor, cx| {
|
||||
editor.change_selections(None, cx, |s| {
|
||||
editor.change_selections(Some(Autoscroll::fit()), cx, |s| {
|
||||
s.move_with(|_, selection| {
|
||||
selection.reversed = !selection.reversed;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue