Skip to content
Browse files

Fixes an issue where a new window opens when opening a buffer from Fu…

…zzyFinder
  • Loading branch information...
1 parent 74e8194 commit f9c890bc61bad8da9a3f8eb3dd32fc21258b59d6 @folke folke committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/minibufexpl.vim
View
2 plugin/minibufexpl.vim
@@ -1604,7 +1604,7 @@ function! <SID>AutoUpdate(delBufNum,currBufName)
" Don't bother autoupdating the MBE window, and skip the FuzzyFinder window
" (Thanks toupeira!)
- if (bufname('%') == '-MiniBufExplorer-' || bufname('%') == '[fuf]')
+ if (bufname('%') == '-MiniBufExplorer-' || bufname('%') == '[fuf]' || bufname('%') == '')
" If this is the only buffer left then toggle the buffer
if (winbufnr(2) == -1)
call <SID>CycleBuffer(1)

0 comments on commit f9c890b

Please sign in to comment.
Something went wrong with that request. Please try again.