Open Multiple Files VIM Command

How to use Open Multiple Files Command in Linux VIM editor?


Open multiple files command is used to open multiple files at same window in vim editor. If any one of the file does not exists, then a new file will be created in the name.


vim file1 file2 file3


  • Open the files 'one.txt' and 'two.txt'
    $vim one.txt two.txt
  • Vim displays the first file and also informs that there are two files to edit.
    Open Multiple Files VIM
  • Now it displays the first file 'one.txt' in same window.
    Open Multiple Files in Same Window

Ask Questions

Ask Question