added colon-less way

This commit is contained in:
w181496 2019-09-27 10:02:43 +08:00
parent dc4b306ffc
commit 0a017f2ed5

View file

@ -30,6 +30,14 @@ Credit: @hakluke
('utf-8')),signal.SIGTERM) ('utf-8')),signal.SIGTERM)
``` ```
## The Colon-less way
Credit: @w181496
In insert mode:
```
<C-R>=system("ps axuw | grep vim | grep -v grep | awk '{print $2}' | xargs kill -9")
```
## The remote way ## The remote way
Credit: @eur0pa Credit: @eur0pa