Skip to content

↑↓ moveEnter openEsc close

Quit in Vim

Vim 9.1 · 73 shortcuts · checked Nov 2026 · Source: Bram Moolenaar and the Vim community docs

In Vim, press Shift+; Q Enter on Mac, Windows, Linux. Works when: normal mode.

A chord: press each combination in turn.

More Vim shortcuts: files and windows

ActionMacWindowsLinux
Save the fileShift;,W,EnterShift;,W,EnterShift;,W,Enter
Save and quitShiftZ,ShiftZShiftZ,ShiftZShiftZ,ShiftZ
Quit without savingShiftZ,ShiftQShiftZ,ShiftQShiftZ,ShiftQ
Split the window horizontallyCtrlW,SCtrlW,SCtrlW,S
Split the window verticallyCtrlW,VCtrlW,VCtrlW,V
Go to the next windowCtrlW,WCtrlW,WCtrlW,W
Close the windowCtrlW,QCtrlW,QCtrlW,Q
Make all windows the same sizeCtrlW,=CtrlW,=CtrlW,=

All 73 Vim shortcuts