From acb8a320fe88b8b3a47eded0b0b9745f55faa986 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 7 Apr 2018 23:42:12 +0200 Subject: Output filtered tabs --- plugin/tabs_grep.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/tabs_grep.vim b/plugin/tabs_grep.vim index 30574d3..d8a498a 100644 --- a/plugin/tabs_grep.vim +++ b/plugin/tabs_grep.vim @@ -10,7 +10,10 @@ function! TabsGrep(search) call filter(tabs, function('s:MatchString', [a:search])) echo tabs - echo s:FilterTabPageElements(tabs) + let tabs = s:FilterTabPageElements(tabs) + for line in tabs + echo line + endfor " let filtered_tabs = system( " \ 'echo ' -- cgit v1.2.3