> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/tools/vim/split-the-current-window.md).

# 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.

h/t Ryan Messner
