We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5369f5d commit 1ff1bacCopy full SHA for 1ff1bac
pyvim/key_bindings.py
@@ -47,7 +47,7 @@ def _(event):
47
if w and w.render_info:
48
new_document_line = min(
49
b.document.line_count - 1,
50
- b.document.cursor_position_row + int(w.render_info.rendered_height / 2))
+ b.document.cursor_position_row + int(w.render_info.rendered_height))
51
b.cursor_position = b.document.translate_row_col_to_index(new_document_line, 0)
52
w.vertical_scroll = w.render_info.input_line_to_screen_line(new_document_line)
53
0 commit comments