@andrewt

Is there any key sequence that can reliably quit vim without saving changes regardless of current mode?

s//<cr>:q!

(Not tested. Probably won't work with macro recording)

Follow

@AceNovo @andrewt smash ctrl-c a few times, then look at the instructions at the bottom of the screen:

Type :qa! and press <Enter> to abandon all changes and exit Vim

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!