From cf7397043c719ad07a0840995b728b7b3b6c7c87 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 15 Dec 2015 23:17:04 -0600 Subject: [PATCH] Add Splitting For New Files as a vim til. --- README.md | 1 + vim/splitting-for-new-files.md | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 vim/splitting-for-new-files.md diff --git a/README.md b/README.md index c50eeb4..b74de45 100644 --- a/README.md +++ b/README.md @@ -317,6 +317,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Set End Of Line Markers](vim/set-end-of-line-markers.md) - [Set Your Color Scheme](vim/set-your-color-scheme.md) - [Split Different](vim/split-different.md) +- [Splitting For New Files](vim/splitting-for-new-files.md) - [Swap Occurrences Of Two Words](vim/swap-occurrences-of-two-words.md) - [Swapping Split Windows](vim/swapping-split-windows.md) - [Tabs To Spaces](vim/tabs-to-spaces.md) diff --git a/vim/splitting-for-new-files.md b/vim/splitting-for-new-files.md new file mode 100644 index 0000000..f25fa12 --- /dev/null +++ b/vim/splitting-for-new-files.md @@ -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.