opening files
open a file to a specific line number:
vim +n
where n
is the line number (+92
will open the file on line 92)
open a list of files:
vim file1 file2 file3
You can also use -o
and -O
for splits and vertical splits, respectively.
-p
for tabs.