Improve everyday.

Opening multiple files in Vim

|

CLI

$ vim *.py
# This opens the files in their own tabs.

$ vim -o *.py
# This opens the files in horizontal splits.

$ vim -O *.py
# This opens the files in vertical splits.

From vim

:args *.py | all
# This opens the files in horizontal splits.

:args *.py | vertical all
# This opens the files in vertical splits.

Comments