From 89a6d9613c08d25bcecaad2288fc7cb02ec9da5b Mon Sep 17 00:00:00 2001 From: Mike Bagwell Date: Sun, 3 Apr 2016 14:13:53 -0400 Subject: [PATCH] add neovim terminal files to history filter --- autoload/fzf/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index 74aeb79..c640686 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -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