diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index c23fdc2..3ee18d3 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1489,8 +1489,8 @@ function! fugitive#BufReadStatus() abort nnoremap ds :execute StageDiff('Gsdiff') nnoremap dp :execute StageDiffEdit() nnoremap dv :execute StageDiff('Gvdiff') - nnoremap p :execute StagePatch(line('.'),line('.')+v:count1-1) - xnoremap p :execute StagePatch(line("'<"),line("'>")) + nnoremap p :echoerr 'Use P' + xnoremap p :echoerr 'Use P' nnoremap P :execute StagePatch(line('.'),line('.')+v:count1-1) xnoremap P :execute StagePatch(line("'<"),line("'>")) nnoremap q :if bufnr('$') == 1quitelsebdeleteendif