Opening multiple files in Vim
18 Sep 2017 | vimCLI
$ 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