Skip to content

Instantly share code, notes, and snippets.

@azye
Last active April 17, 2019 18:09
Show Gist options
  • Save azye/34037f42298c18e969b985a1fd6d02e6 to your computer and use it in GitHub Desktop.
Save azye/34037f42298c18e969b985a1fd6d02e6 to your computer and use it in GitHub Desktop.
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
Ctrl + w |         max out the width of the current split
Ctrl + w =         normalize all split sizes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment