91
23
Is it possible to get vim to open multiple files into tabs, similar to the way the args <path>
command will open multiple files into buffers?
Doing something like :tabe ./*
results in the error "E77: Too many file names", even though the number of files is less than the value set in the tabpagemax
property.
(I believe the vim -p <files>
option will open in tabs, but I'm hoping to find a way to do it when vim is already open.)
4I found this question via Google. I was looking for how to open vim with tabs from the command line,
vim -p
was what I was looking for :-) – Rocket Hazmat – 2014-10-15T20:32:17.2902
Related: How can I open multiple tabs at once? at Vim SE
– kenorb – 2015-02-23T15:38:56.797Related: Open several files in new tabs with VIM at Stack Overflow.
– Mihai Capotă – 2015-03-26T15:40:02.407Related: How to open many tabs for many files in vim? at Super User.
– Mateusz Piotrowski – 2016-01-16T22:48:24.03313Thanks for mentioning the -p option; that's what I was looking for – user72923 – 2013-10-21T21:40:02.983