From 0db4ceb98036eef3807ed8a31a0e049523a5d8b3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 7 Aug 2019 19:31:26 -0400 Subject: [PATCH] Restore press enter prompt in :Ggrep in GUI --- autoload/fugitive.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index c829e16..86e5896 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3725,7 +3725,9 @@ function! s:Grep(listnr, bang, arg) abort let list = map(readfile(tempfile), 's:GrepParseLine(prefix, name_only, dir, v:val)') call s:QuickfixSet(listnr, list, 'a') if v:version > 704 | exe 'silent doautocmd QuickFixCmdPost ' (listnr < 0 ? 'Ggrep' : 'Glgrep') | endif - redraw + if !has('gui_running') + redraw + endif if !a:bang && !empty(list) return (listnr < 0 ? 'c' : 'l').'first' . after else