How do I open multiple files in Linux?

How do I open multiple files in Linux?
Answer
The answer to my question was you can’t, but you can open two files in one bash window using VIM’s :split command:
  1. Open a file with $ vim file1 , open a second file within VIM using :split file2 command.
  2. Or, use $ vim -o file1 file2 from bash.
  3. Switch between files–toggle active file–in VIM with ctrl – w ctrl – w .
 

Tìm kiếm

Back
Top