mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-04-30 10:46:56 +02:00
Merge pull request #1 from PozziSan/PozziSan-lazy-python-way
Add Lazy Pythonic Way
This commit is contained in:
commit
483fc60c88
1 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,13 @@ Credit: @kpumuk
|
|||
:!grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9
|
||||
```
|
||||
|
||||
## The lazy pythonic using shell way
|
||||
Credit: @PozziSan
|
||||
|
||||
```bash
|
||||
python -c "from os import system; system('killall -9 vim')"
|
||||
````
|
||||
|
||||
## The pythonic way
|
||||
Credit: @hakluke
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue