mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-10 07:27:00 +02:00
added the layered method
This commit is contained in:
parent
d513e1aedc
commit
be39759d35
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue