Fix maps in commit buffers

This commit is contained in:
Tim Pope 2018-12-31 01:45:01 -05:00
parent cb18a96651
commit ce3d3df508

View File

@ -1655,6 +1655,7 @@ function! fugitive#BufReadCmd(...) abort
nnoremap <buffer> <silent> a :<C-U>let b:fugitive_display_format += v:count1<Bar>exe fugitive#BufReadCmd(@%)<CR>
nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= v:count1<Bar>exe fugitive#BufReadCmd(@%)<CR>
else
let &modifiable = modifiable
call fugitive#MapJumps()
endif
endtry