diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index e014f42..6bf2245 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1775,6 +1775,9 @@ function! s:SetupTemp(file) abort setlocal nomodifiable endif call FugitiveDetect(a:file) + if &filetype ==# 'git' + call fugitive#MapJumps() + endif endif return '' endfunction