added the layered method

This commit is contained in:
mashuptwice 2022-03-28 13:25:57 +00:00 committed by GitHub
parent d513e1aedc
commit be39759d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,6 +257,7 @@ 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