mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-12-08 21:14:53 +08:00
Fix maps in commit buffers
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user