DEV Community


Discussion on: How to exit Vim

sinewalker profile image
Mike Lockhart • Edited

I wish I could find the original where I saw this...

Gandalf, reading a battered old file from the server:

They have taken the bridge… and the second hall.
We have barred the gates… but cannot hold them for long. The ground shakes.
Drums… drums… in the deep
:wq :w :q!
A shadow moves in the dark
:x :x! :quit :help
^Z ^C ^X ^[^[x ^D
We cannot get out. They are coming