TOOL » NEOVIM

Split

Create split

ShortcutCommandDescription
Ctrl-W_n Ctrl-W_Ctrl-N:newOpen empty file with horizontal split
:vneOpen empty file with vertical split
Ctrl-W_s:sp :to sp :bo spSplit horizontally
Ctrl-W_v:vs :to vs :bo vsSplit vertically

Manage splits

ShortcutCommandDescription
Ctrl-W_r Ctrl+RRotate windows downwards/rightwards
Ctrl-W_RRotate windows upwards/leftwards
Ctrl-W_x Ctrl-W_XExchange current window
Ctrl-W_K Ctrl-W_J Ctrl-W_H Ctrl-W_LMove current window to indicated direction
Ctrl-W_TMove current window to new tab
Ctrl-W_+ Ctrl-W_-:res +N :res -NResize horizontal split by N
Ctrl-W_< Ctrl-W_>:vert res +N :vert res -NResize vertical split by N
Ctrl-W_=Same size for all windows
Ctrl-W_Ctrl-_ Ctrl-W__:res NSet current window height to N (default: highest possible)
Ctrl-W_|:vert res NSet current window width to N (default: widest possible)
:set wfhFixed split height
:set wfwFixed split width