From c71408d5c115b0ce548d5893491bb2539c8ea7af Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 18 Oct 2009 19:54:30 -0400 Subject: [PATCH] Fix tab restoration edge case in :Gwrite --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 8463218..75070b3 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -591,7 +591,7 @@ function! s:Write(force,...) abort let did = 1 finally wincmd p - execute 'tabnext '.tab + execute 'tabnext '.mytab endtry endif endfor