motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 9f032ed0409ae3dd51d5b33dd8f83f05af56916d (tree)
parent d428032600f738ff5246576a92716779a2b9d5d7
Author: Tim Pope <code@tpope.net>
Date:   Sat, 18 Jan 2020 00:51:38 -0500

Prevent alternate buffer change loading Fugitive buffer

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -1560,7 +1560,7 @@ function! s:ReplaceCmd(cmd) abort if exec_error call s:throw((len(err) ? err : filereadable(temp) ? join(readfile(temp), ' ') : 'unknown error running ' . a:cmd)) endif - silent exe '$read ++edit' s:fnameescape(temp) + silent exe 'keepalt $read ++edit' s:fnameescape(temp) silent keepjumps 1delete _ call delete(temp) endfunction