mirror of
https://github.com/jbranchaud/til
synced 2026-01-08 01:28:02 +00:00
Add Splitting For New Files as a vim til.
This commit is contained in:
8
vim/splitting-for-new-files.md
Normal file
8
vim/splitting-for-new-files.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user