aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-04-07tabs_grep.vim: Trouble with line continuations; reorder argumentsTeddy Wing
`s:MatchString()` needs to have the search string as its first argument, because that's how it will get passed in when referenced above as: call filter(tabs, function('s:MatchString', [a:search])) Also had some trouble getting the line continuation to work on the `return`, so had a few experiments messing with that trying to get it to work.
2018-04-07tabs_grep.vim: Split `:tabs` output on `\n`Teddy Wing
Otherwise it splits on spaces, and I end up with word elements in my list instead of line elements.
2018-04-07Initial ideas for TabsGrepTeddy Wing
Repurposed some code from my LsGrep plugin. We grab output from `:tabs` and run it through a filter to get only the matching file names. We also want to include the "Tab page 1" lines, so these need to be filtered specially.