DEV Community

Discussion on: What do you Google EVERY. SINGLE. TIME. and never just memorize?

Collapse
 
techiesourav profile image
Sourav Ghosh

How to exit vim.

Collapse
 
shroudedmoon profile image
Michael Whitis

Many moons ago, at one of my first jobs, I got myself in trouble with this. I was editing something in prod without knowing how to save or exit. I was a windows nt guy mostly. So, like one does, I hard-rebooted the server instead of asking for help... After the dust cleared, my boss made me sit at a keyboard for over an hour launching vim and learning how to at least save and exit. :) I have :wq, :q,:q! burned into my muscle memory to this day...

Collapse
 
shelbyspees profile image
shelby spees (she/her)

Oh god why did they have the new guy making changes in prod you poor soul