News for hackers. Stuff that matters.
Re:How to exit vim in 5 simple steps by IncRnd on Monday September 18, 2017 @10:22PM (#15281305)
Or, after you hit escape and enter command line mode, you may choose to type q immediately followed by !.

This sequence will quit while also overriding the saving of the file. This can come in handy if you accidentally change a file after you start editing it.

Escape:q!

There are no comments on this comment yet.