Add Help: header

Closes https://github.com/tpope/vim-fugitive/issues/1513
This commit is contained in:
Tim Pope
2020-05-07 07:14:18 -04:00
parent d2abfca08f
commit 0646a53c6b
2 changed files with 10 additions and 0 deletions

View File

@@ -3627,6 +3627,10 @@ function! s:DoToggleHeadHeader(value) abort
call search('\C^index$', 'wc')
endfunction
function! s:DoToggleHelpHeader(value) abort
exe 'help fugitive-map'
endfunction
function! s:DoStagePushHeader(value) abort
let remote = matchstr(a:value, '\zs[^/]\+\ze/')
if empty(remote)