From a510b3aadf3f39711c113371c18adc48ad54e6ee Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 19 Aug 2019 12:39:23 -0400 Subject: [PATCH] Deprecate :Gstatus q --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 162b893..291d550 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1838,7 +1838,7 @@ function! fugitive#BufReadStatus() abort call s:Map('n', 'I', ":execute StagePatch(line('.'),line('.'))", '') call s:Map('x', 'I', ":execute StagePatch(line(\"'<\"),line(\"'>\"))", '') if empty(mapcheck('q', 'n')) - nnoremap q :if bufnr('$') == 1quitelsebdeleteendif + nnoremap q :if bufnr('$') == 1quitelsebdeleteendifechohl WarningMsgecho ':Gstatus q is deprecated in favor of gq or the built-in q'echohl NONE endif call s:Map('n', 'gq', ":if bufnr('$') == 1quitelsebdeleteendif", '') call s:Map('n', 'R', ":echohl WarningMsgecho 'Reloading is automatic. Use :e to force'echohl NONE", '')