Move to beginning of line in "(" map

Resolves: https://github.com/tpope/vim-fugitive/issues/1867
This commit is contained in:
Tim Pope
2021-10-17 09:41:31 -04:00
parent d5a6419fcf
commit 93f41ace7d

View File

@@ -4540,8 +4540,8 @@ endfunction
function! s:PreviousItem(count) abort function! s:PreviousItem(count) abort
for i in range(a:count) for i in range(a:count)
if !search(s:item_pattern, 'Wbe') && getline('.') !~# s:item_pattern if !search(s:item_pattern, 'Wb') && getline('.') !~# s:item_pattern
call search('^commit ', 'Wbe') call search('^commit ', 'Wb')
endif endif
endfor endfor
call s:StageReveal() call s:StageReveal()