coolwanglu / neovim-e

Electron UI for Neovim
MIT License
271 stars 29 forks source link

Slow scroll #37

Open trusktr opened 9 years ago

trusktr commented 9 years ago

I'm sure you might know, but wanted to leave an issue for it. Everything (selecting, moving the cursor, etc) is nice and fast and zippy compared to terminal. The only thing is scrolling the whole view is slow, lagging then scrolling chunks at a time instead of line by line.

coolwanglu commented 9 years ago

I'm afraid that I don't fully understand. Could you elaborate it?

trusktr commented 9 years ago

Well, my keyboard repeat rate is high, so I hold k to scroll up. It's really really fast when only the cursor moves, but when it makes the whole text document scroll it lags and the framerate drops to like 3 fps. Just set your key repeat rate in your OS really fast, then just hold j or k in a bigger document to scroll.

coolwanglu commented 9 years ago

I see. Let me see if I can throttle the redraw procedure.

jordwalke commented 9 years ago

I definitely noticed this as well. It's the biggest issue that prevents every day usage. Other than that, this entire project is impressively complete.