Ignore __Tagbar__ buffer

This commit is contained in:
Junegunn Choi 2015-09-02 19:10:49 +09:00
parent 6d8edb3c0e
commit e3cac09d60

View file

@ -232,7 +232,7 @@ command! -bang -nargs=1 Locate call s:fzf({
function! s:all_files()
return extend(
\ filter(reverse(copy(v:oldfiles)),
\ "v:val !~ 'fugitive:\\|NERD_tree\\|^/tmp/\\|.git/'"),
\ "v:val !~ 'fugitive:\\|__Tagbar__\\|NERD_tree\\|^/tmp/\\|.git/'"),
\ filter(map(s:buflisted(), 'bufname(v:val)'), '!empty(v:val)'))
endfunction