commit ed6f4256fcdd8ee6bcaf9c7aa5879f559463a9b3 (tree)
parent 1c22b69652bafde5418586236953a260ad76f7e7
Author: Tim Pope <code@tpope.net>
Date: Sun, 18 Aug 2019 09:06:08 -0400
Change work tree buffer on :Gwrite exactly once
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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