Skip to content
Snippets Groups Projects
Unverified Commit 11374041 authored by Jonathan Müller's avatar Jonathan Müller Committed by GitHub
Browse files

[vim] Add keepjump to switch_back() function (#2363)

Otherwise, the jump list will contain a (hidden) entry for the FZF buffer if `window: enew` is used.
parent d57c6d02
No related branches found
No related tags found
No related merge requests found
......@@ -783,7 +783,7 @@ function! s:execute_term(dict, command, temps) abort
function! fzf.switch_back(inplace)
if a:inplace && bufnr('') == self.buf
if bufexists(self.pbuf)
execute 'keepalt b' self.pbuf
execute 'keepalt keepjumps b' self.pbuf
endif
" No other listed buffer
if bufnr('') == self.buf
......
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