Open up many files in panes at once

vim

When I need to edit multiple files, it's really a pain to have to open them one by one. Is there a way to open multiple files in VIM from the commandline?

Best Answer

You can use vim -o {file-list} to open files horizontally splitted, or vim -O {file-list} to open them vertically splitted. But in your case, I always use vim -p {file-list} to open files in tab pages (because size of each window is nearly size of your terminal in this mode).

Related Question