Change subtopic help tag style from :Git- to :Git_

This is less Git-like, but a bit more Vim-like, and doesn't force us
into the awkward :Git---paginate.
This commit is contained in:
Tim Pope
2020-02-29 07:58:30 -05:00
parent 025151bc78
commit d0dceb9feb
2 changed files with 20 additions and 19 deletions

View File

@@ -5555,8 +5555,8 @@ function! s:BlameFileType() abort
if &modifiable
return ''
endif
call s:Map('n', '<F1>', ':help :Gblame<CR>', '<silent>')
call s:Map('n', 'g?', ':help :Gblame<CR>', '<silent>')
call s:Map('n', '<F1>', ':help :Git_blame<CR>', '<silent>')
call s:Map('n', 'g?', ':help :Git_blame<CR>', '<silent>')
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>')
endif