-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Vertical movement lags significantly #84
Comments
I was afraid of this, although I don't experience the issue any more. Can you help me reproduce it/understand it?
(about the last part: it seems unlikely, but I wonder if e.g. it's just that my CPU is faster and I don't notice the lag, I have an Intel i7-4710HQ.) |
I can get you the versions and stuff later once I get back to my computer, but in the meantime:
I'm not entirely sure how to determine the system load on Mac but I'm sure Google can help with that. |
Good news, I also observe a slight lag in that file, although not dramatic, specifically when these lines are displayed, while it's fine on the other parts of the file. Can you confirm? |
Will check once I'm at my computer. Thanks for investigating! |
System info:
When I scroll through that file, I start to see lag as early as this line. |
I encounter the same problem.
|
Thanks, this has been very helpful. I just pushed some commits with a few performance tweaks, can you check that the problem is fixed? (It is for me.) |
Thank you! Now my vim works smoothly and the same benchmark looks much much better:
|
This is great, thanks so much @carlobaldassi! It's much, much better now. I experience some very minor cursor flashing, but it's hardly noticeable overall. |
I experience the same issue on Neovim v0.10.1. It does not happen immediately, but rather when I have edited the file. After a few edits, I have to reopen the file again, which is very annoying. Let me know if you'd like me to provide more information. Edit: Perhaps not, I'll go through my plugin list again and check if julia-vim is actually to blame. Edit 2: Yes, I believe I was correct. With only Vundle, Gruvbox and Julia-Vim loaded, I get the same issue. |
@albinahlback, thanks for the report. To confirm, you do not experience any lag when moving through a file in normal mode (e.g. by holding down j as in the OP) after opening a file, but you do experience lag using the same movement over the same region(s) of the file after you've made changes? Does it change based on whether you've written your changes to disk? |
Okay, I think I have a MWE. In Nemo.jl, open My CPU is i5 6300U (i.e. not that strong or modern), and my keyboard speed is quite fast (on Linux, I set it through |
I actually just observed this today as well in the Julia repo, |
Sure, opened #318. |
This was brought up a bit in #37. I was not experiencing this issue prior to the introduction of highlighted symbols. Apparently others experienced the same issue, though it they claimed it to be mostly resolved for them. When I hold down j (yes I know that's not proper Vim use), it lags so much that I can't even tell where the cursor will end up.
This may be an upstream issue, in which case feel free to close this, though I figured it'd be good to have this issue available to track the problem.
The text was updated successfully, but these errors were encountered: