In Vim, you can view several buffers at once by loading them into multiple windows. This episode demonstrates all the essentials of working with windows: opening, closing, resizing, moving between and rearranging them.
I’ll be running my Core Vim Class online on Thursday, December 5th. Tickets cost $255, but you can get the earlybird discount of $230 if you buy yours before November 29th. The price includes an exclusive screencast that summarises the material from the class.
Opening split windows
split the current window horizontally, loading the same file in the new window
split the current window vertically, loading the same file in the new window
split the current window horizontally, loading filename in the new window
split the current window vertically, loading filename in the new window
Closing split windows
close the currently active window
close all windows except the currently active window