Emacs-27.1 ships with a new tab-bar-mode minor mode. This puts a tab bar at the top of each Emacs frame. Each tab in the tab bar can display multiple windows.
Is there any way to invoke Emacs from the command line and have it open multiple files in separate tabs?
For instance, I want to run a command like the following:
$ emacs --some-flag file1.txt file2.txt file3.txt
Emacs should open
file3.txt in separate tabs (instead of separate buffers). Is there some way to get this to work?
Vim has a
-p flag that allows it to open files into separate tabs instead of just separate buffers.