Closed componhead closed 2 months ago
The original reason was for a consistent user experience. Regardless of whether you start :Gdiffsplit
from an old buffer or a new buffer, the end result is the same.
I've since decided that matching the behavior of the vanilla :diffsplit
is more important, so the modern reason is for backwards compatibility. As a compromise, the behavior was narrowed to the "no argument" case, which means it's extremely easy to bypass with :Gdiffsplit %
for example if you don't want it.
Hi. Why the choice to ignore
splitright
andsplitbelow
vim option? From the manual:thank you