mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-14 00:49:01 +08:00
Don't feedkeys() into terminal window
Resolves: https://github.com/tpope/vim-fugitive/issues/1908
This commit is contained in:
1 parent
f18571e647
commit
ab57abf1d0
1 file changed
+1
-1
@@ -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("\<C-\>\<C-N>:redraw!|call delete(" . string(s:resume_queue[-1][0].file . '.edit') .
|
||||
\ ")|call fugitive#Resume()|silent checktime\r", 'n')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
Reference in new issue
Block a user