mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-23 22:06:28 +02:00
added colon-less way
This commit is contained in:
parent
dc4b306ffc
commit
0a017f2ed5
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue