Vim split to a specific size
Open Vim splits to a specific height or width by prepending a number to the command.
Open Vim splits to a specific height or width by prepending a number to the command.
Move a Vim split with these built-in shortcuts. Your current split can be moved in Vim with ctrl-w and a letter movement: H J K L.
Open Vim splits to the right and below for a more natural movement.
Use the vim-maximizer plugin to get a closer look at a single split.
Use -o or -O to open multiple files in splits from the command line.
Use ctrl-w f to open the file under the cursor in a new split.
Use :only or ctrl-w o to close all other splits in Vim.
Incrementally resize splits to expose more area in your viewport.
Jump right to a specific line when opening splits.
Keep your splits even by using ctrl-w = to straighten things up.