add neovim terminal files to history filter
This commit is contained in:
parent
ee71f5a207
commit
89a6d9613c
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ endfunction
|
|||
function! s:all_files()
|
||||
return extend(
|
||||
\ 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)'))
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue