New thing started happening since MacOS Tahoe I believe (in ST4 4199).
When I hold j or k to move the cursor up and down (NeoVintageous), it constantly stutters, sometimes getting stuck and eventually jumping multiple lines. It was the smoothest thing ever before. No changes to anything (same plugins, configs). I’m on MacBook Pro M1 Max with 64GB ram, using external 5k LG UltraFine monitor (if that’s relevant).
Some observations so far:
- The issue happens in both NeoVintageous’ and Vintage’s “normal mode”. (I tried disabling one, enabling the other, same issue).
- The issue seems gone when switched to “insert mode”, and using arrow keys, with either plugin.
- The issue persists if I use arrow keys, but stay in “normal mode”.
- The issue seems gone when both vim plugins are disabled.
- I see that while holding any movement button (h/j/k/l or arrows), CPU usage jumps to 99.8%. Not sure if that was always the case however.
Wonder if that’s just me…
To reproduce
Open any file with some code, make sure you’re in normal mode in vim emulation, and just keep alternating between holding j and k, seeing the cursor move up and down.
Here’s normal mode demo:
Here’s insert mode demo: