How to open a file in a list of files in Vim?

vim

Solution

I'd say with -p for tabs

vim -p `cat yourlistoffiles`

Problem

I have a longish list of files opened in vim that looks like this: ``` /dir1/file1 /dir2/file2 /dir2/file3 ..... ``` How can I open all of them one by one the easiest way possible in the same session of vim either with split or edit?

Original source