:vsplit my gvim window jumps to a specific screen location. How do I stop this from happening?
Same thing happens when the second to last split is closed.
I'm using gvim on Windows.
This happens because when vertical splitting the window, vim needs to add a vertical scrollbar, which causes vim to recalculate the visual size and eventually makes vim jump to a different screen location. The current workaround is to
:set guioptions-=r guioptions-=L