DEV Community

Discussion on: Emergency Vim Commands

Collapse
 
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?

Collapse
 
glsolaria profile image
G.L Solaria

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 :)