Vim
:q!
Exit without saving changes.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-10-07
Syntax
$:q!
Examples
$:q!
Typical use cases
?
Standard usage
:q! --help
Note
Global and Exiting. Exits without saving. Alternative: Q.
Export