From ab57abf1d066c83a1bac20ab9830463396b10d02 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 23 Dec 2021 21:46:45 -0500 Subject: [PATCH] Don't feedkeys() into terminal window Resolves: https://github.com/tpope/vim-fugitive/issues/1908 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 4ce0b12..3925aae 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3538,7 +3538,7 @@ function! s:RunBufDelete(bufnr) abort endif if has_key(s:edit_jobs, a:bufnr) | call add(s:resume_queue, remove(s:edit_jobs, a:bufnr)) - call feedkeys(":redraw!|call delete(" . string(s:resume_queue[-1][0].file . '.edit') . + call feedkeys("\\:redraw!|call delete(" . string(s:resume_queue[-1][0].file . '.edit') . \ ")|call fugitive#Resume()|silent checktime\r", 'n') endif endfunction