added the layered method
This commit is contained in:
parent
d513e1aedc
commit
be39759d35
|
|
@ -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) \")"
|
:!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
|
## The Abstinence Method
|
||||||
Credit: @ryanc
|
Credit: @ryanc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue