From 93f41ace7dc068cf89314bcea23bdf8da686407a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 17 Oct 2021 09:41:31 -0400 Subject: [PATCH] Move to beginning of line in "(" map Resolves: https://github.com/tpope/vim-fugitive/issues/1867 --- autoload/fugitive.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 49d046e..6e65d8c 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -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()