DEV Community 👩‍💻👨‍💻

Discussion on: Emergency Vim Commands

kostassar profile image
Kostas Sar

I think this post will save many people trapped in vim!

Personally plain ":wq" has never bothered me except in case I was in a file I should not have edited in the first place (Or without the correct rights).

What issues does '!' solve?

ai101gh profile image
ai101gh Author

It just forces the command without asking any more questions. I figured emergency responders don't want to be asked "are you sure?" after they have already issued a command :)