In case you ever find yourself trapped inside a vim session, here are some simple tips:
harsh, but fair π
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 π
@KAutumnrain π