diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 8978668..c89c39a 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1796,6 +1796,7 @@ function! fugitive#BufReadStatus() abort nnoremap gs :exe StageJump(v:count, 'Staged') nnoremap gp :exe StageJump(v:count, 'Unpushed') nnoremap gP :exe StageJump(v:count, 'Unpulled') + nnoremap gr :exe StageJump(v:count, 'Rebasing') nnoremap C :Gcommit:echohl WarningMsgecho ':Gstatus C is deprecated in favor of cc'echohl NONE nnoremap a :execute Do('Toggle',0) nnoremap i :execute StageIntend(v:count1) @@ -2611,7 +2612,7 @@ endfunction function! s:NextFileHunk(count) abort for i in range(a:count) - call search('^[A-Z?] .\|^diff --\|^[0-9a-f]\{4,\} \|^@','W') + call search('^[A-Z?] .\|^diff --\|^\%(\l\{3,\} \)\=[0-9a-f]\{4,\} \|^@','W') endfor call s:StageReveal() return '.' diff --git a/doc/fugitive.txt b/doc/fugitive.txt index bcf1552..02e0d34 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -346,6 +346,9 @@ gp Jump to "Unpushed" section. *fugitive_gP* gP Jump to "Unpulled" section. + *fugitive_gr* +gr Jump to "Rebasing" section. + *fugitive_c* Commit mappings ~