1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00
Files
til/vim/splitting-for-new-files.md
2015-12-15 23:17:04 -06:00

330 B

Splitting For New Files

Let's assume you already have a vim session open. You now want to open a new file. You can open a new horizontally split window with the :new command. Alternatively, if you'd like the new window to open with a vertical split, you can use the :vnew command.

See :new and :vnew for more details.