How do I open several files in Vim, with each file in a separate window?
-o and -O Vim command line arguments to open multiple files in separate horizontally or vertically split Vim windows. For example: $ vim -o3 f1.txt f2.txt f3.txt The above command will open the files f1.txt, f2.txt and f3.txt in three separate horizontally split Vim windows. $ vim -O3 f1.txt f2.txt f3.txt The above command will open the files f1.txt, f2.txt and f3.txt in three separate vertically split Vim windows.
Related Questions
- After conversion it is observed that some files or slides are interrupted for a while or skipped when playing the converted file in Window Media Player ?
- I have difficulty organising all these separate video files. How can I watch all of them in order without switching from file to file?
- How do I open several files in Vim, with each file in a separate window?