:q!

Category: Vim/Neovim

:q!

Force quit without saving changes

Quits Vim without saving — discards all changes. The ! overrides the 'unsaved changes' warning.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.