From b9825af3dc385afdb856c740104d00e213d03990 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 31 Dec 2018 00:58:38 -0500 Subject: [PATCH] Fix focus bug on reloading multiple :Gstatus buffers --- autoload/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 123fd9b..c23fdc2 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1849,6 +1849,7 @@ function! fugitive#ReloadStatus(...) abort endif finally if exists('restorewinnr') + unlet restorewinnr wincmd p endif execute 'tabnext '.mytab