From ab3937ee5a62d63bac9307bfe72601eeb4fc9cd2 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 16 Dec 2020 21:44:28 +0900 Subject: [PATCH] [vim] Allow closing Vim running fzf without confirmation Close #2287 --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 4705115..9ce9ab4 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -831,7 +831,7 @@ function! s:execute_term(dict, command, temps) abort if has('nvim') call termopen(command, fzf) else - let term_opts = {'exit_cb': function(fzf.on_exit)} + let term_opts = {'exit_cb': function(fzf.on_exit), 'term_kill': 'term'} if is_popup let term_opts.hidden = 1 else