diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fzf.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 0cce53ab..2574a0fc 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -464,7 +464,9 @@ function! s:execute_term(dict, command, temps) abort \ 'columns': &columns, 'command': a:command } function! fzf.switch_back(inplace) if a:inplace && bufnr('') == self.buf - execute 'keepalt b' self.pbuf + if bufexists(self.pbuf) + execute 'keepalt b' self.pbuf + endif " No other listed buffer if bufnr('') == self.buf enew |