Multiple arguments should be opened as multiple buffers
nodingneu opened this issue · 4 comments
This is more useful behaviour than matching against every regex.
E.g. if I have
$ v -l
2 ~/.../json/navigation.json
1 ~/.../app.js
0 ~/.../sass/theme.sass
I want v app the
to start vim with two buffers, one of ~/.../app.js
and the other of ~/.../sass/theme.sass
.
That is more useful for you but in no way is that just generally more useful
$ v -l
2 ~/foo/bar/nav.py
1 ~/cat/dog/bar.py
0 ~/pls/no/nav.py
I want to v bar nav
and know I'm getting the right file, not open two in my buffers.
Regardless, with your current program, there's no way around opening multiple buffers.
However, you always have the option of v 'bar.*nav'
for targeting specific files.
What if I have a file called barnav tho duh duh
v 'bar/nav'
I feel like the multiple buffers is much more useful, v
doesn't even provide this functionality in any shape or form yet.
What if I have a file called barnav tho
Today I am being edge case man
then change the regex, my point still stands (doesn't your suggested v bar nav
match barnav
too? what point are you trying to make...)