Reputation: 25423
While using the VSCode Neovim plugin I've noticed a difference in how the cursor position is handled while vertically scrolling by line with ctrl+e.
In stand-alone Neovim/Vim, as the window scrolls the cursor is advanced if it is about to go off-screen, staying at the top of the window:
But in VSCode + Neovim the cursor stays put, going off-screen. Once this happens, pressing a movement key like j will cause the window to jump back to the original cursor location, which can be jarring:
Is it possible to have the VSCode + Neovim experience match the stand-alone Neovim experience while scrolling with regard to cursor position?
I would think it should be possible, because the cursor is updated when page-scrolling with ctrl+d:
v1.81.1
v1.7.0
v0.10.0-dev
Upvotes: 0
Views: 103