mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Fix help tag for g?
References: https://github.com/tpope/vim-fugitive/issues/2320
This commit is contained in:
@@ -5191,7 +5191,7 @@ function! s:DoToggleHeadHeader(value) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:DoToggleHelpHeader(value) abort
|
function! s:DoToggleHelpHeader(value) abort
|
||||||
exe 'help fugitive-map'
|
exe 'help fugitive-maps'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:DoStagePushHeader(value) abort
|
function! s:DoStagePushHeader(value) abort
|
||||||
@@ -8045,8 +8045,8 @@ function! fugitive#MapJumps(...) abort
|
|||||||
|
|
||||||
call s:Map('n', '.', ":<C-U> <C-R>=<SID>fnameescape(fugitive#Real(@%))<CR><Home>")
|
call s:Map('n', '.', ":<C-U> <C-R>=<SID>fnameescape(fugitive#Real(@%))<CR><Home>")
|
||||||
call s:Map('x', '.', ":<C-U> <C-R>=<SID>fnameescape(fugitive#Real(@%))<CR><Home>")
|
call s:Map('x', '.', ":<C-U> <C-R>=<SID>fnameescape(fugitive#Real(@%))<CR><Home>")
|
||||||
call s:Map('n', 'g?', ":<C-U>help fugitive-map<CR>", '<silent>')
|
call s:Map('n', 'g?', ":<C-U>help fugitive-maps<CR>", '<silent>')
|
||||||
call s:Map('n', '<F1>', ":<C-U>help fugitive-map<CR>", '<silent>')
|
call s:Map('n', '<F1>', ":<C-U>help fugitive-maps<CR>", '<silent>')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let old_browsex = maparg('<Plug>NetrwBrowseX', 'n')
|
let old_browsex = maparg('<Plug>NetrwBrowseX', 'n')
|
||||||
|
|||||||
Reference in New Issue
Block a user