Skip to content

Commit 1ff1bac

Browse files
SanketDGjonathanslenders
authored andcommitted
fix ctrl-f shortcut
1 parent 5369f5d commit 1ff1bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyvim/key_bindings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _(event):
4747
if w and w.render_info:
4848
new_document_line = min(
4949
b.document.line_count - 1,
50-
b.document.cursor_position_row + int(w.render_info.rendered_height / 2))
50+
b.document.cursor_position_row + int(w.render_info.rendered_height))
5151
b.cursor_position = b.document.translate_row_col_to_index(new_document_line, 0)
5252
w.vertical_scroll = w.render_info.input_line_to_screen_line(new_document_line)
5353

0 commit comments

Comments
 (0)