1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-06 16:48:01 +00:00

Add Split The Current Window as a vim til

This commit is contained in:
jbranchaud
2017-10-20 16:46:26 -05:00
parent 90ef40a56f
commit 1d74c5f993
2 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
# Split The Current Window
Generally when I want to open up a buffer in a window split, I use `:sp` or
`:vsp` and type out the filename. It may be a bit more convenient to use
window commands to create the splits.
To open a horizontal split:
```
Ctrl-w s
```
To open a vertical split:
```
Ctrl-w v
```
With the split made, you can use `Ctrl-o`/`Ctrl-i`,
[BufExplorer](https://github.com/jlanzarotta/bufexplorer), or whatever way
you like to navigate between buffers.