-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folding causes the cursor stuck #40
Comments
I also met this similar bug, In a folded text contain about 1000 lines, press |
I can verify the same bug. I'd really like to continue using this plugin but this bug is a very common occurrence in my workflow. Could I contribute to fixing this somehow? I'm new to vim/vimL and would require some direction, though. |
I believe this bug occur after #34. A older vim-smoothie can avoid this bug. |
Thanks for reporting! Unfortunately I couldn't figure out yet why does that happen. For now I added a workaround, which should cause the plugin to jump directly to the target position if it detects that animation is stuck. It's not pretty, but at least will prevent trapping users and their cursors ;) |
Hi @psliwka, |
@psliwka Thanks, you're the MVP. It doesn't get stuck after the update. If it helps diagnose at all, I use fzf with nvim and whenever I got this cursor stuck issue, I couldn't open fzf. I get an error with something along the lines of "Can't exit terminal mode and go into normal mode". Best of luck and thanks again! |
vim-smoothie version: b440f13
vim version: 8.2.4700
As mentioned in the title, when I use the scrolling commands (e.g.,
<C-D>
,zt
) to cross the continuous folding, the cursor will be stuck. Then,j
andk
cannot work normally, for example:The text was updated successfully, but these errors were encountered: