diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index df92b49..6fc4e68 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1798,12 +1798,12 @@ function! fugitive#BufReadStatus() abort exe 'xnoremap ' nowait "= :execute StageInline('toggle',line(\"'<\"),line(\"'>\")-line(\"'<\")+1)" exe 'xnoremap ' nowait "< :execute StageInline('hide', line(\"'<\"),line(\"'>\")-line(\"'<\")+1)" exe 'xnoremap ' nowait "> :execute StageInline('show', line(\"'<\"),line(\"'>\")-line(\"'<\")+1)" - nnoremap D :execute StageDiff('Gdiffsplit') - nnoremap dd :execute StageDiff('Gdiffsplit') - nnoremap dh :execute StageDiff('Ghdiffsplit') - nnoremap ds :execute StageDiff('Ghdiffsplit') + nnoremap D :execute StageDiff('Gdiffsplit!')redrawechohl WarningMsg echo ':Gstatus D is deprecated in favor of dd'echohl NONE + nnoremap dd :execute StageDiff('Gdiffsplit!') + nnoremap dh :execute StageDiff('Ghdiffsplit!') + nnoremap ds :execute StageDiff('Ghdiffsplit!') nnoremap dp :execute StageDiffEdit() - nnoremap dv :execute StageDiff('Gvdiffsplit') + nnoremap dv :execute StageDiff('Gvdiffsplit!') nnoremap d? :help fugitive_d nnoremap P :execute StagePatch(line('.'),line('.')+v:count1-1) xnoremap P :execute StagePatch(line("'<"),line("'>"))