vim - open stdin and files in split windows Though you cannot use -o, you can execute any commands passed with -c: $ vim - -c 'split file1'