Cursor stuck to the top line when using <C-d> #23
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Problem
When placing the cursur on the top line, and then pressing , will not center the cursor. Instead it will stay stuck at the top. You can reproduce this by:
Reproduce
gg<C-d>
Cause
For some reason, the if statement of
plugin.lua:34
is entered as theline
andtop
are equal. I am not sure, but I think thetop
variable is wrong. As a result the funtion exits early, missing thenorm! zz
command.Workaround
As a workaround you can set
allow_scroll_move = false
.The text was updated successfully, but these errors were encountered: