Skip to content
Snippets Groups Projects
Unverified Commit 8b71fea5 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[vim] Set termwinkey to allow CTRL-W

parent 7bd99a22
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment