Input delay after FocusGained (switching to NeoVim)
TamaMcGlinn opened this issue · 1 comments
I recently started having a problem on a machine I access over SSH where, as I switch focus back to NeoVim, input is delayed by about 3 seconds, and the cursor disappears for a few seconds longer.
After bisecting through my plugins, I found that removing yanky fixed the issue. I then tried many commits of yanky, back to v1.0.0 but all have the same result.
However, this problem does not occur on another machine I use locally (not over SSH), even though I'm on the same latest commit of Yanky.
After a clue elsewhere about FocusGained aucmd, I found that the problem is with the sync_with_ring option.
Long story short, if you are running into this, set sync_with_ring to false
. It may be a good idea to set this as the default.
If you would like further testing on the machine with the problem, let me know and I'll be happy to help.
Can you share your config ?
This is probably because you're using sqlite as storage. try shada instead ;)