How do you open a new file in a horizontal split?
Answer
:split filename
Explanation
Use :split filename or :sp filename to open a file in a new horizontal split. The new window appears above the current one.
:split filename
Use :split filename or :sp filename to open a file in a new horizontal split. The new window appears above the current one.