In case you ever find yourself trapped inside a vim session, here are some simple tips:
I have no idea of the efficiency but here's one:
TEMP=$(ps a | grep 'vim' | cut -f 2 -d " " | head -1) ;export TEMP | echo 1000 > /proc/$TEMP/oom_score_adj
@KAutumnrain That approach is very straight-forward 👍
the "fuck it we'll let OOMKiller decide your fate but slightly nicer(?) than zigbombing" way
@john_b I thought the correct way was to throw your computer into a trash can, then empty an entire magazine into it, then add lighter fluid and set the whole thing on fire.
It's the only way to be sure!
@lenaoflune Right, you want to be 100% certain that vim isn't going to come back as a zombie (process).
@john_b
harsh, but fair 😂