From ce283cbdbf198606e4427ace2bf8dc11460c81b5 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 23 Jul 2019 20:10:31 -0400 Subject: [PATCH] Remove i special behavior on section heading --- autoload/fugitive.vim | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index dd1b98e..50297e2 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2732,12 +2732,7 @@ endfunction function! s:NextExpandedHunk(count) abort for i in range(a:count) - if getline('.') =~# '^Unstaged\|^Untracked' - call s:TreeChomp('add', '--intent-to-add', '--', s:Tree()) - exe s:ReloadStatus() - else - call s:StageInline('show', line('.'), 1) - endif + call s:StageInline('show', line('.'), 1) call search('^[A-Z?] .\|^diff --\|^@','W') endfor return '.'