commit ce283cbdbf198606e4427ace2bf8dc11460c81b5 (tree)
parent 994d1b518f17918d42d56b03b15f74fdbc460801
Author: Tim Pope <code@tpope.net>
Date: Tue, 23 Jul 2019 20:10:31 -0400
Remove i special behavior on section heading
Diffstat:
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git 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 '.'