Fix maps in commit buffers
This commit is contained in:
parent
cb18a96651
commit
ce3d3df508
@ -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> 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>
|
nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= v:count1<Bar>exe fugitive#BufReadCmd(@%)<CR>
|
||||||
else
|
else
|
||||||
|
let &modifiable = modifiable
|
||||||
call fugitive#MapJumps()
|
call fugitive#MapJumps()
|
||||||
endif
|
endif
|
||||||
endtry
|
endtry
|
||||||
|
Loading…
Reference in New Issue
Block a user