Enable maps in :Git! output buffers

This commit is contained in:
Tim Pope
2019-01-03 13:46:16 -05:00
parent 42408d6a2e
commit 8c89c8d1f5

View File

@@ -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