Gvim -p limit of opened tabs

command lineconfigurationfilesvim

When I run :

gvim -p *.xyz

I find that not all files are opened in tabs.

It feels, like a kind of tab limit?

But ! When I try to open unopened with :

:tabnew

it is opened next to previous tabs – it works !

How to make gvim -p ... to open all files without need of opening those above limit manually with :tabnew ?

Btw. Is this limit somewhere written ? Possible to be configured?

Best Answer

Put this in your .vimrc (usually located at ~/.vimrc):

set tabpagemax=100
Related Question