[vim] Keep jump list unaffected when calling term_start

Fix #3415
pull/3417/head
Junegunn Choi 9 months ago
parent 03df609d77
commit 3a965856a5
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -945,7 +945,7 @@ function! s:execute_term(dict, command, temps) abort
let term_opts.curwin = 1
endif
call s:handle_ambidouble(term_opts)
let fzf.buf = term_start([&shell, &shellcmdflag, command], term_opts)
keepjumps let fzf.buf = term_start([&shell, &shellcmdflag, command], term_opts)
if is_popup && exists('#TerminalWinOpen')
doautocmd <nomodeline> TerminalWinOpen
endif

Loading…
Cancel
Save