FG
💻 Software

How to open many tabs for many files in vim?

Fresh5 days ago
Mar 15, 20262276 views
Confidence Score0%
0%

Problem

I can open one file in a new tab with: Let's say I have many files, for example: util.h and util.cpp. How I can open those files all in separate, new tabs? I'm looking for something similar to

Error Output

:tabnew file

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to open many tabs for many files in vim?

Low Risk

First, add the files as arguments: Then use the command with : You could do this with and but none of the buffer commands can add multiple files at the same time. Also, using the method may avoid opening tabs for files you already have open—it depen…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment