Let it give you the warning and then hit :q! if you're really sure.
Also, it's probably better to tell new vi users to write and exit with :w it works just as well and is more consistent.
And :q when just exiting as you mentioned for exactly this reason. Tell me I'm quitting without saving so I can decide what to do next.
Let it give you the warning and then hit :q! if you're really sure.
Also, it's probably better to tell new vi users to write and exit with :w it works just as well and is more consistent.