gvim -p limit of opened tabs?
8,735
Put this in your .vimrc
(usually located at ~/.vimrc
):
set tabpagemax=100
Author by
Grzegorz Wierzowiecki
Updated on September 18, 2022Comments
-
Grzegorz Wierzowiecki over 1 year
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?
-
Grzegorz Wierzowiecki about 12 years
-
gdw2 about 12 yearsIn my experience, only a certain number of tabs are visible on the screen at a given time, but they're all there (just off screen). Could that be the case? What happens if you do a
:tabprev
from your first tab? -
Grzegorz Wierzowiecki about 12 yearsIt is not that. I know
:tabprev
:tabnext
. There are not there. There are10
tabs maximum when I open withgvim -p
. If I want more I need to add them manually with ::tabnew
. Problem is present invim -p
as well. -
gdw2 about 12 yearsAs I haven't (recently) experienced this 10-tab phenominon, I decided to look at my (short) vimrc and found something that might work... see my answer.
-
-
dragon788 almost 4 yearsI really need to get this committed into my dotfiles because I forget about it every time I'm on a new machine and wanting to edit a bunch of files in tabs and I only get 8-10 the first pass and doing
:next
a bunch of times to go through all the buffers that weren't opened in tabs is terribly annoying.