October 2012
346 pages
7h 40m
English
| Tip 39 | Divide Your Workspace into Split Windows |
Vim allows us to view multiple buffers side by side by dividing our workspace into split windows.
In Vim’s terminology, a window is a viewport onto a buffer (window
). We can open multiple windows, each containing the same buffer, or we can load different buffers into each window. Vim’s window management system is flexible, allowing us to build a workspace tailored to the demands of our workflow.
When Vim starts up, it contains a single window. We can divide this window horizontally with the <C-w>s command, which creates two windows of equal height. Or we can use the <C-w>v ...
Read now
Unlock full access