From a95972cefc8c6bc4ea5f7798f1462dda3d1f4709 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 5 Feb 2020 12:48:16 -0500 Subject: [PATCH] Don't clobber alternate buffer on :Gstatus --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index ca92393..04a3cb8 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2547,7 +2547,7 @@ function! s:StatusCommand(line1, line2, range, count, bang, mods, reg, arg, args elseif a:bang return mods . 'pedit' . arg . '|wincmd P' else - return mods . (a:count > 0 ? a:count : '') . 'split' . arg + return mods . (a:count > 0 ? a:count : '') . 'keepalt split' . arg endif catch /^fugitive:/ return 'echoerr ' . string(v:exception)