: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.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
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