programmer_humor·Programmer HumorbyKerb ways to close vimView original on discuss.tchncs.de206Comments41Reply
Jakylla sh.itjust.works4Hide 4 replies Unplug the computer Shut the house electric safety switch down Cut the electricity pole nearest to the house Bomb the nearest electricity distribution post 40Reply
rrtxn replylemmy.world Wait for a sufficiently powerful coronal mass ejection to collapse the global electric grid 7Reply
Jakylla replysh.itjust.worksPretty sure I can learn my grandma to put a fork in any socket to close Vim, no prior knowledge needed1Reply
aalnilam lemmy.world3Hide 3 repliesDoes colon-capital-Q-exclamation mark even work? I'm pretty sure it's only lower case q.27Reply
Kerb replydiscuss.tchncs.de1Hide 1 replyits supposed to be lowercase, but imgflip put the entire text in uppercase.22Reply
RRustySharp replyprogramming.devHonestly, the joke landed anyway. I've done numerous uppercase-Q trying to quit, because I didn't let go of Shift fast enough after typing the colon...5Reply
EEufalconimorph discuss.tchncs.de4Hide 4 repliescat /dev/zero > "/proc/$(pidof vim)/mem" is my favorite dumb way. Clear its memory, wait for the segfault.18Reply
JJulian replylemm.ee2Hide 2 replies...you can write to program memory? Idk how exactly but that feels like a security risk.2Reply
nnintendiator replyfeddit.cl1Hide 1 replyIt's your process, why shouldn't you be able to write to it? Vi is certainly doing it...6Reply
vrkr replyprogramming.dev dumb way. Get fancy, add progress bar: pv < /dev/zero > "/proc/$(pidof vim)/mem"1Reply
SSarsoar lemmy.world1Hide 1 replyctrl-S instinctively from windows then panic when the terminal pauses and isnt accepting input so you restart the computer.5Reply
Kerb replydiscuss.tchncs.de1Hide 1 replyholy crap, that's exactly what i wanted the last command to do. i just didn't know you can target jobs, and settled with quitting the shell instead4Reply
graham1 replygekinzuku.comyeah it's my favorite way to exit Vim. I post it every time I get a chance lol https://gekinzuku.com/comment/2027902Reply
mormegil programming.devThere's a whole repo of possible methods: https://github.com/hakluke/how-to-exit-vim4Reply
PipedLinkBot replyfeddit.rocks2Hide 2 repliesHere is an alternative Piped link(s): https://piped.video/watch?v=s5lj9YdKMz0 Piped is a privacy-respecting open-source alternative frontend to YouTube. I'm open-source, check me out at GitHub.0Reply
JJohnJVaccaro lemmy.sdf.orgtry... :x it will save your changes and exit vim If there are no changes to the then it just exits vim.1Reply
PipedLinkBot replyfeddit.rocks1Hide 1 replyHere is an alternative Piped link(s): https://piped.video/4889ED2-ufw Piped is a privacy-respecting open-source alternative frontend to YouTube. I'm open-source, check me out at GitHub.2Reply
Sagrotan replylemmy.worldI call my local energy provider and simply cancel my contract with immediate effect.1Reply
41 replies
nuke it from orbit. it's the only way to be sure.
"Simple and easily explained."
Pretty sure I can learn my grandma to put a fork in any socket to close Vim, no prior knowledge needed
Does colon-capital-Q-exclamation mark even work? I'm pretty sure it's only lower case q.
its supposed to be lowercase,
but imgflip put the entire text in uppercase.
Honestly, the joke landed anyway. I've done numerous uppercase-Q trying to quit, because I didn't let go of
Shiftfast enough after typing the colon...Was going to say this, myself.
you can close vim?
"this is my life now"
cat /dev/zero > "/proc/$(pidof vim)/mem"is my favorite dumb way. Clear its memory, wait for the segfault....you can write to program memory? Idk how exactly but that feels like a security risk.
It's your process, why shouldn't you be able to write to it? Vi is certainly doing it...
You do need to be root to do it to arbitrary processes.
Get fancy, add progress bar: pv < /dev/zero > "/proc/$(pidof vim)/mem"
Amateur. Just unplug the power cable.
Open vim.
Accept vim is the OS now.
One panel below: shut down the computer
ctrl-S instinctively from windows then panic when the terminal pauses and isnt accepting input so you restart the computer.
Fuck, are you me?
ctrl-zkill %1holy crap,
that's exactly what i wanted the last command to do.
i just didn't know you can target jobs,
and settled with quitting the shell instead
yeah it's my favorite way to exit Vim. I post it every time I get a chance lol https://gekinzuku.com/comment/202790
There's a whole repo of possible methods: https://github.com/hakluke/how-to-exit-vim
M-! pkill -9 vimhttps://piped.video/watch?v=s5lj9YdKMz0
😵💫
Here is an alternative Piped link(s): https://piped.video/watch?v=s5lj9YdKMz0
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source, check me out at GitHub.
Bad bot
The comment was edited after the bot responded
ZZ will save file though, the others won't. You meant ZQ.
Alt+PrtScnotry...
:x
it will save your changes and exit vim If there are no changes to the then it just exits vim.
til shift-z shift-z. am I stupid
https://youtu.be/4889ED2-ufw
Here is an alternative Piped link(s): https://piped.video/4889ED2-ufw
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source, check me out at GitHub.
Good bot
Does unplugging the machine not work?
I call my local energy provider and simply cancel my contract with immediate effect.