psliwka / vim-smoothie

Smooth scrolling for Vim done rightšŸ„¤
MIT License
988 stars 27 forks source link

Cursor gets stuck on folds #20

Closed subnut closed 3 years ago

subnut commented 4 years ago

Normally, the cursor stays in the same line (relative to the window) while scrolling. But if folds are encountered, then the cursor seems to get stuck on the fold, till the cursor reaches the top of the window, and then the cursor remains on the top of the window.

The scrolling itself is not affected in any way. Only the cursor. Also, only scrolling down causes it. Scrolling up does not cause it.

gifcast_201003081425

In case it is relevant, I am using foldmethod=marker

subnut commented 4 years ago

I also have Konfekt/FastFold installed, in case that's relevant ...

UPDATE: No it's not. This is a bug in vim itself

subnut commented 3 years ago

@subnut I have tried to implement a workaround in #21 Please test and report bugs, if any

subnut commented 3 years ago

@subnut It works great! Thank you.