From ed6f4256fcdd8ee6bcaf9c7aa5879f559463a9b3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 18 Aug 2019 09:06:08 -0400 Subject: [PATCH] Change work tree buffer on :Gwrite exactly once --- autoload/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 59f637c..411662d 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4146,6 +4146,7 @@ function! s:WriteCommand(line1, line2, range, count, bang, mods, reg, arg, args) endif execute 'tabnext '.mytab endtry + break endif endfor endfor