mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-07 05:04:30 +08:00
add neovim terminal files to history filter
This commit is contained in:
@@ -274,7 +274,7 @@ endfunction
|
|||||||
function! s:all_files()
|
function! s:all_files()
|
||||||
return extend(
|
return extend(
|
||||||
\ filter(reverse(copy(v:oldfiles)),
|
\ filter(reverse(copy(v:oldfiles)),
|
||||||
\ "v:val !~ 'fugitive:\\|__Tagbar__\\|NERD_tree\\|^/tmp/\\|\\.git/'"),
|
\ "v:val !~ 'fugitive:\\|__Tagbar__\\|NERD_tree\\|^/tmp/\\|\\.git/\\|term://'"),
|
||||||
\ filter(map(s:buflisted(), 'bufname(v:val)'), '!empty(v:val)'))
|
\ filter(map(s:buflisted(), 'bufname(v:val)'), '!empty(v:val)'))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user