diff --git a/README.md b/README.md index ab4e1de..e403d39 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,13 @@ Don't run this, it could break your computer. :!echo b | sudo tee -a /proc/sysrq-trigger ``` +## The layered Method +Credit: @mashuptwice +``` +:!python -c "import os ; os.system(\"ssh localhost kill -9 $(pgrep vim >tmpfile && grep -P '\d+' tmpfile | sed 's/\(.*\)/\1/g' | cat && rm tmpfile) \")" +``` +Bonus: still stuck if multiple vim instances are running + ## The Abstinence Method Credit: @ryanc