aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorTeddy Wing2018-04-07 23:42:12 +0200
committerTeddy Wing2018-04-07 23:42:12 +0200
commitacb8a320fe88b8b3a47eded0b0b9745f55faa986 (patch)
tree8453d63e383efd662b7d1c7f5c7643949c4e1cb4 /plugin
parent041a9cdc6847d8806d9ea8985d14fb78001769bc (diff)
downloadvim-tabs-grep-acb8a320fe88b8b3a47eded0b0b9745f55faa986.tar.bz2
Output filtered tabs
Diffstat (limited to 'plugin')
-rw-r--r--plugin/tabs_grep.vim5
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 '