diff options
author | Teddy Wing | 2018-04-07 23:42:12 +0200 |
---|---|---|
committer | Teddy Wing | 2018-04-07 23:42:12 +0200 |
commit | acb8a320fe88b8b3a47eded0b0b9745f55faa986 (patch) | |
tree | 8453d63e383efd662b7d1c7f5c7643949c4e1cb4 | |
parent | 041a9cdc6847d8806d9ea8985d14fb78001769bc (diff) | |
download | vim-tabs-grep-acb8a320fe88b8b3a47eded0b0b9745f55faa986.tar.bz2 |
Output filtered tabs
-rw-r--r-- | plugin/tabs_grep.vim | 5 |
1 files changed, 4 insertions, 1 deletions
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 ' |