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:
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:
- Open a file with $ vim file1 , open a second file within VIM using :split file2 command.
- Or, use $ vim -o file1 file2 from bash.
- Switch between files–toggle active file–in VIM with ctrl – w ctrl – w .