:q

Category: Vim/Neovim

:q

Quit vim (fails if unsaved changes)

Quits Vim. Fails if there are unsaved changes — use :w first or :q! to force quit.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.