summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-08-26 19:52:44 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-08-26 19:53:57 +0900
commit3a965856a5918bad466b2e81934d6e23c73047b0 (patch)
tree473f0aa2e75fb1688ed03e2c3b1590cf72a0a32d /plugin
parent03df609d7732c145ec78d00b18d442a63a6f78c0 (diff)
[vim] Keep jump list unaffected when calling term_start
Fix #3415
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index ac7e169e..dd109906 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -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