File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
1010For a steady stream of TILs from a variety of rocketeers, checkout
1111[ til.hashrocket.com] ( https://til.hashrocket.com/ ) .
1212
13- _ 577 TILs and counting..._
13+ _ 578 TILs and counting..._
1414
1515---
1616
@@ -658,6 +658,7 @@ _577 TILs and counting..._
658658- [ Show All Syntax Highlighting Rules] ( vim/show-all-syntax-highlighting-rules.md )
659659- [ Show Matching Entries For Help] ( vim/show-matching-entries-for-help.md )
660660- [ Split Different] ( vim/split-different.md )
661+ - [ Split The Current Window] ( vim/split-the-current-window.md )
661662- [ Splitting For New Files] ( vim/splitting-for-new-files.md )
662663- [ Swap Occurrences Of Two Words] ( vim/swap-occurrences-of-two-words.md )
663664- [ Swapping Split Windows] ( vim/swapping-split-windows.md )
Original file line number Diff line number Diff line change 1+ # Split The Current Window
2+
3+ Generally when I want to open up a buffer in a window split, I use ` :sp ` or
4+ ` :vsp ` and type out the filename. It may be a bit more convenient to use
5+ window commands to create the splits.
6+
7+ To open a horizontal split:
8+
9+ ```
10+ Ctrl-w s
11+ ```
12+
13+ To open a vertical split:
14+
15+ ```
16+ Ctrl-w v
17+ ```
18+
19+ With the split made, you can use ` Ctrl-o ` /` Ctrl-i ` ,
20+ [ BufExplorer] ( https://github.com/jlanzarotta/bufexplorer ) , or whatever way
21+ you like to navigate between buffers.
You can’t perform that action at this time.
0 commit comments