diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-11-15 21:26:09 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-11-15 21:27:57 +0900 |
commit | 8b71fea5dc469b5f996fa2823f53f3b1d9b084ae (patch) | |
tree | e0eaee61705e8ef74f49e875fce9a8df2c8a2259 | |
parent | 7bd99a22eeba74c88ad60f860111247a052f5586 (diff) |
[vim] Set termwinkey to allow CTRL-W
Fix https://github.com/junegunn/fzf.vim/issues/1176
-rw-r--r-- | plugin/fzf.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 5fa555a3..e59196d8 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -836,6 +836,7 @@ function! s:execute_term(dict, command, temps) abort let term_opts.curwin = 1 endif let fzf.buf = term_start([&shell, &shellcmdflag, command], term_opts) + call setbufvar(fzf.buf, '&termwinkey', '<c-z>') if is_popup && exists('#TerminalWinOpen') doautocmd <nomodeline> TerminalWinOpen endif |