Prevention is key:
alias vim='emacs'
Exiting Vim is for beginners.
Veterans stay in Vim till the end of time. Probably for the same reasons why the meme in post was made.
I use arc, btw.
That socket looks shocked
It does?
C’mon guys. Escape, colon q bang. It practically exits itself.
Or ‘ZZ’
Well, careful there,
ZZ
is like:wq
;ZQ
is like:q!
.
I see they reused the instructions for ed, great to see how intuitive Linux is between different programs
Well ed is the standard text editor after all
My point exactly, I am just happy Vim follows the standard (:
Start a second shell and kill the process 😋
Rookie. I have a shell script on my phone that SSHs into my computer and reboots.
Termux gang?
Termux gang!
You (might be) joking but I did this for my home server and I absolutely love how powerful I feel controlling my entire network from a terminal app on my phone.
My old man energy is showing because I’m so used to looking for a laptop/PC to do this.
I really don’t get the exit vom meme anymore. It’s just two key presses, trivial. When you hit
<C-c>
it tells you exactly what to do. Anyone stuck in vom either does not read or has no idea how to use a terminal.ESC : q ENTER (assuming you haven’t modified the buffer)?
What’s the two key press exit pattern?
Vim is unintuitive. If you are a new linux CLI user and follow some tutorials that tells you to run vim, modify something then save and exit, it can be daunting.
:x simple as. Vim was the first terminal text editor I used so I’m biased.
I mean how hard could it be, you just press some random letters until it exits
Yeah vom is easy. Have you tried exiting vim tho?
Whenever I have to edit a text file when nauseous, I just vom it.
I use omacs
on i-macs?
On umix
^^ The kind of person who doesn’t remember what it’s like being new at the CLI.
or…
Linux is so easy, n00b. You’re just stupid.
Glad ubuntu defaults to nano. One of the few decent choices that distro ever made
See how the socket looks like a V?
That’s how you remember it’s meant to be used to exit vi.
Better turn off all the breakers in your house. Just to make sure you’ve really closed it
Burn down the sub station to be sure…
Steal a nuclear bomb and wipe out your entire city. That’s my strat
First boisterous laugh of the day. Thank you!
For the more advanced, there’s a button(the more sophisticated may call it a „switch”) for that(on the wall(the fuse))
I see at least two problems here:
-
Don’t pull on the cable, pull on the plug.
-
Use EU power sockets, it is safer, more like :q! when existing vim and unsaved changed you made to the file are lost for sure.
use UK power sockets it’s ever more safe
That’s how you brexit vim tho. Takes years to complete, no coming back and bricks everything else in the process.
Triple comment, my dude
dammit it was refusing to send the message so I kept retrying it’s never done that to me before
It has done it to me before lol
The UK plugs, on the other hand, are the only shape of plug known to man that when it’s left on the ground the pins always end up turned up, ready and eager to receive any feet not suitably protected by a hard shoe sole.
See, that’s why I just flip the circuit breakers to ensure a successful exit
Ah yes, I’ll just replace all my power sockets, get rid of all my electronics, and only buy imported European electronics from now on.
It’s so obvious, why didn’t I think of it before.
Oh yeah, and rewire my whole house to 240 V. Easy peasy.
To be fair, switching to 240v is pretty easy, just move the neutral to a hot leg in the fuse box.
I’m no electricityologist, but wouldn’t that make half your circuits 240V and the other half deadly 0V?
Wouldn’t that hot leg need to be 180 degrees out of phase with the other?
Yes but I was’t trying to write a book this morning.
Instructions unclear, electrocuted while replacing outlets.
-
Just click the X on your terminal window.