diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index e359446..bbc23f7 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1407,6 +1407,10 @@ function! fugitive#BufReadStatus() abort nnoremap :execute StagePrevious(v:count1) exe "nnoremap " nowait "- :silent execute StageToggle(line('.'),line('.')+v:count1-1)" exe "xnoremap " nowait "- :silent execute StageToggle(line(\"'<\"),line(\"'>\"))" + exe "nnoremap " nowait "s :silent execute StageToggle(line('.'),line('.')+v:count1-1)" + exe "xnoremap " nowait "s :silent execute StageToggle(line(\"'<\"),line(\"'>\"))" + exe "nnoremap " nowait "u :silent execute StageToggle(line('.'),line('.')+v:count1-1)" + exe "xnoremap " nowait "u :silent execute StageToggle(line(\"'<\"),line(\"'>\"))" 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