Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open and split multiple files

Tags:

vim

People also ask

How do I split multiple files in windows?

Right-click the file and select the Split operation from the program's context menu. This opens a new configuration window where you need to specify the destination for the split files and the maximum size of each volume. You can select one of the pre-configured values or enter your own into the form directly.


Not actually from within vim, but perhaps you can run vim like this:

vim -o app/views/*.erb

Just learned from tonymec@#vim that you can do

:args app/views/*.erb | all

for horizontal splits or

:args app/views/*.erb | vertical all

for vertical.


vim -O app/views/*.erb

This is also from the shell. It will open as vertical splits.


What happens when you do a

:sf app/views/*.erb

from within vim?