HELP! HOW DO I EXIT VIM? i’ve been stuck here for months, had to create my own browser from scratch.
The first time I got stuck in VI, cell phones didn’t have internet yet. We were a one computer household. I had printed out some instructions on how to modify XF86 configs. I had tried typing out every version of [ESC] I could come up with.
If it wouldn’t have been for VI I would have been into Linux probably a decade earlier. It’s now my editor of choice but it probably wouldn’t have killed them to detect control x and give you a little hint text somewhere.
give you a little hint text somewhere
At least it’s not ed:
?
it probably wouldn’t have killed them
It does pop a help message on CTRL C now. Also, Bram sadly died recently. Coincidence?
[ESC]
:!pkill -9 ^vi
People can remember the Konami code but :-q-! is too difficult apparently.
Except it doesn’t work because you’re in edit mode.
After noticing that ctrl+c doesn’t work he tried typing
exit
, which put him in edit mode.Unless you are on a Mac, then ctrl is META, and META+c gets you to the place where you can :q!
ESC is just too far to deal with when using vi.
Esc, then :q-t
Or just use nano and have a built in cheat sheet
Edit: I just realized nano is the gen z text editor for Linux…
I’ve used it before gen z was a thing, so no.
Why do people just don’t ESC :x? Do I miss something when not using q!?
:x also writes (same as :wq). :q! is force quit. If you accidentally made changes then :q will give an error and :x will write those changes. So :q! Is you safest bet if you need to gtfo.
Now that you write it… I use :q! all the time but I did not realize. I guess that is just muscle memory :-)
ZQ / ZZ ftw.
Or ZZ, more simple and immediately after typing it you start hearing random ZZ Top song.
Driving While Blind
This joke was made ten thousand times but this version is not low effort. I appreciate it.
When you reboot your computer to exit a program.
If you were about to type VirtualBox instead of Qemu or virt-manager, you deserved it!
Ah shit… The trash comedy folks made it here after all
This joke is so stale you could make penicillin out it.
but what about the church of EMACs?
that’s a different operating system
Is he running his system from something like FAT to make executing VI do something useful?
:q!