FG
💻 Software

How to get vim to open multiple files into tabs at once

Fresh6 days ago
Mar 15, 202658584 views
Confidence Score1%
1%

Problem

Is it possible to get vim to open multiple files into tabs, similar to the way the command will open multiple files into buffers? Doing something like results in the error "E77: Too many file names", even though the number of files is less than the value set in the property. (I believe the option will open in tabs, but I'm hoping to find a way to do it when vim is already open.)

Error Output

args <path>

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to get vim to open multiple files into tabs at once

Low Risk

will open all the files in Vim's argument list in individual tabs. The argument list is initially set to the list of file names given on the command line when Vim is started. The list may be changed with the and related commands. See Example: will open all the .c files in the current directory in individual tabs.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment