mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Move to beginning of line in "(" map
Resolves: https://github.com/tpope/vim-fugitive/issues/1867
This commit is contained in:
@@ -4540,8 +4540,8 @@ endfunction
|
||||
|
||||
function! s:PreviousItem(count) abort
|
||||
for i in range(a:count)
|
||||
if !search(s:item_pattern, 'Wbe') && getline('.') !~# s:item_pattern
|
||||
call search('^commit ', 'Wbe')
|
||||
if !search(s:item_pattern, 'Wb') && getline('.') !~# s:item_pattern
|
||||
call search('^commit ', 'Wb')
|
||||
endif
|
||||
endfor
|
||||
call s:StageReveal()
|
||||
|
||||
Reference in New Issue
Block a user