diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index bbe5064..f16ad73 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4306,13 +4306,13 @@ function! s:NavigateUp(count) abort endfunction function! fugitive#MapJumps(...) abort - if get(b:, 'fugitive_type', '') ==# 'blob' - nnoremap :.Gblame - else - nnoremap :exe GF("edit") - endif if !&modifiable let nowait = v:version >= 704 ? '' : '' + if get(b:, 'fugitive_type', '') ==# 'blob' + nnoremap :.Gblame + else + nnoremap :exe GF("edit") + endif if get(b:, 'fugitive_type', '') ==# 'blob' nnoremap o :.,.+1Gblame nnoremap S :echoerr 'Use gO'