4 ms·
Haven't used this tool but here's how I do this with `ag` (silver searcher): `vim -p $(ag -l some_word)` The `-p` flag opens each item in a new tab. To open e
by arcanemachiner 3y ago
Haven't used this tool but here's how I do this with `ag` (silver searcher):
`vim -p $(ag -l some_word)`
The `-p` flag opens each item in a new tab. To open each item in the same tab but different windows*, you can the use `-O` or `-o` flags instead for vertical or horizontal splits, respectively.
*I am not certain if I am using the term 'window' correctly as Vim uses it.