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
Shift
fast 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.
dumb way.
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.
ctrl-z
kill %1
holy 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 insteadyeah it’s my favorite way to exit Vim. I post it every time I get a chance lol https://gekinzuku.com/comment/202790
ctrl-S instinctively from windows then panic when the terminal pauses and isnt accepting input so you restart the computer.
Fuck, are you me?
There’s a whole repo of possible methods: https://github.com/hakluke/how-to-exit-vim
One panel below: shut down the computer
Alt
+PrtScn
o
M-! pkill -9 vim
deleted by creator
ZZ will save file though, the others won’t. You meant ZQ.
til shift-z shift-z. am I stupid
⏻