Ctrl+W s split horizontally (or :sp)
Ctrl+W v split vertically (or :vsp)
Ctrl+W h/j/k/l change split
Ctrl+W +/- increase/decrease height (ex. 20<C-w>+)
Ctrl+W >/< increase/decrease width (ex. 30<C-w><)
Ctrl+W _ set height (ex. 50<C-w>_)
Ctrl+W | set width (ex. 50<C-w>|)
Ctrl+W = equalize width and height of all windows
Ctrl + w _ max out the height of the current split
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| em - Relative to the font-size of the element (2em means 2 times the size of the current font) | |
| ex - Relative to the x-height of the current font (rarely used) | |
| ch - Relative to width of the "0" (zero) | |
| rem - Relative to font-size of the root element | |
| vw - Relative to 1% of the width of the viewport* | |
| vh - Relative to 1% of the height of the viewport* | |
| vmin - Relative to 1% of viewport's* smaller dimension | |
| vmax - Relative to 1% of viewport's* larger dimension | |
| % - Relative to the parent element |
NewerOlder