Make all windows the same size in Vim
In Vim, press Ctrl+W = on Mac, Windows, Linux. Works when: normal mode.
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlWinAltAltWinMenuCtrl←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlSuperAltAltSuperMenuCtrl←↓→
See it happen Press the shortcut above, or
More Vim shortcuts: files and windows
| Action | Mac | Windows | Linux |
|---|---|---|---|
| Save the file | Shift;,W,Enter | Shift;,W,Enter | Shift;,W,Enter |
| Quit | Shift;,Q,Enter | Shift;,Q,Enter | Shift;,Q,Enter |
| Save and quit | ShiftZ,ShiftZ | ShiftZ,ShiftZ | ShiftZ,ShiftZ |
| Quit without saving | ShiftZ,ShiftQ | ShiftZ,ShiftQ | ShiftZ,ShiftQ |
| Split the window horizontally | CtrlW,S | CtrlW,S | CtrlW,S |
| Split the window vertically | CtrlW,V | CtrlW,V | CtrlW,V |
| Go to the next window | CtrlW,W | CtrlW,W | CtrlW,W |
| Close the window | CtrlW,Q | CtrlW,Q | CtrlW,Q |