I know how to use both the options:
vim -p bit.c bit.h byte.c byte.h --> it opens these files in 4 different tabs.
vim -O bit.c bit.h byte.c byte.h --> it opens these files splitting the window in 4 parts.
But I would like to group the .c and the correspondent .h files on the same tab doing something like
vim -p -O2 bit.c bit.h byte.c byte.h vec_byte.c vec_byte.h
to open 3 tabs:
the first one with the files bit.c bit.h splitting the the window
the second with the files byte.c byte.h splitting the the window
and the third with with the files vec_byte.c vec_byte.h
Does somebody here know to do it?
Thank you very much.