I have so far been unable to find an answer to this problem in documentation or this board.
In gvim, I like to have foo.h split vertically with foo.cpp . I can imagine a shell script (or even a small c program) doing this for me, with every matching pair in a directory split vertically, in their own tab. However, I don't know how to do it. It seems -O opens vertically split, and -p opens in separate tabs, but I can't see how to group them.