diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 0e68e55..d8c5ce4 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1708,8 +1708,8 @@ function! fugitive#BufReadStatus() abort exe 'nnoremap ' s:nowait "gq :if bufnr('$') == 1quitelsebdeleteendif" nnoremap R :echohl WarningMsgecho 'Reloading is automatic. Use :e to force'echohl NONE nnoremap U :echoerr 'Changed to X' - nnoremap g :execute StageDelete(line('.'),v:count) - xnoremap g :execute StageDelete(line("'<"),line("'>")-line("'<")+1) + nnoremap g :echoerr 'Changed to X' + xnoremap g :echoerr 'Changed to X' nnoremap X :execute StageDelete(line('.'),v:count) xnoremap X :execute StageDelete(line("'<"),line("'>")-line("'<")+1) nnoremap . : =StageArgs(0)