motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 93f41ace7dc068cf89314bcea23bdf8da686407a (tree)
parent d5a6419fcf406060b7ad6d4bbb92d132fa792239
Author: Tim Pope <code@tpope.net>
Date:   Sun, 17 Oct 2021 09:41:31 -0400

Move to beginning of line in "(" map

Resolves: https://github.com/tpope/vim-fugitive/issues/1867

Diffstat:
Mautoload/fugitive.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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()