karb94 / neoscroll.nvim

Smooth scrolling neovim plugin written in lua
MIT License
1.46k stars 36 forks source link

neoscroll.G is not moving cursor to the last line #56

Closed gnituy18 closed 2 years ago

gnituy18 commented 2 years ago

Hitting G only scrolling the file to the end but the cursor still remains at the same position.

https://user-images.githubusercontent.com/7200393/170806635-daa64ea0-c0e0-4e53-95ba-968917aadf5b.mov

Perhaps it should be

neoscroll.scroll(lines+win_lines_below_cursor, true, corrected_time, easing, { G = true })

in line 395 ?

karb94 commented 2 years ago

G and gg support is not ready yet. It's quite tricky and there are still some decisions to make.