HOWTO: open and split/tab multiple files using vim

less than 1 minute read

$ vim -o file1 file2 #horizontal split  
$ vim -O file1 file2 #vertical split  
$ vim -p file1 file2 #tabs

Comments