diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index b191a98..57f7903 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2753,8 +2753,8 @@ function! fugitive#BufReadStatus() abort nnoremap :execute StagePrevious(v:count1) nnoremap - :silent execute StageToggle(line('.'),line('.')+v:count1-1) xnoremap - :silent execute StageToggle(line("'<"),line("'>")) - nnoremap a :let b:fugitive_display_format += 1exe fugitive#BufReadIndex() - nnoremap i :let b:fugitive_display_format -= 1exe fugitive#BufReadIndex() + nnoremap a :let b:fugitive_display_format += 1exe fugitive#BufReadStatus() + nnoremap i :let b:fugitive_display_format -= 1exe fugitive#BufReadStatus() nnoremap C :Gcommit:echohl WarningMsgecho ':Gstatus C is deprecated in favor of cc'echohl NONE nnoremap cA :Gcommit --amend --reuse-message=HEAD:echohl WarningMsgecho ':Gstatus cA is deprecated in favor of ce'echohl NONE nnoremap ca :Gcommit --amend