mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Fix blame help maps
This commit is contained in:
committed by
Tim Pope
parent
417b3bb818
commit
eec184e8b0
@@ -5074,8 +5074,8 @@ function! s:BlameFileType() abort
|
|||||||
if &modifiable
|
if &modifiable
|
||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
call s:Map('n', '<F1>', ':help fugitive-:Gblame<CR>', '<silent>')
|
call s:Map('n', '<F1>', ':help :Gblame<CR>', '<silent>')
|
||||||
call s:Map('n', 'g?', ':help fugitive-:Gblame<CR>', '<silent>')
|
call s:Map('n', 'g?', ':help :Gblame<CR>', '<silent>')
|
||||||
if mapcheck('q', 'n') =~# '^$\|bdelete'
|
if mapcheck('q', 'n') =~# '^$\|bdelete'
|
||||||
call s:Map('n', 'q', ':exe <SID>BlameQuit()<Bar>echohl WarningMsg<Bar>echo ":Gblame q is deprecated in favor of gq"<Bar>echohl NONE<CR>', '<silent>')
|
call s:Map('n', 'q', ':exe <SID>BlameQuit()<Bar>echohl WarningMsg<Bar>echo ":Gblame q is deprecated in favor of gq"<Bar>echohl NONE<CR>', '<silent>')
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user