mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-02 11:46:16 +02:00
commit
fc20f3b740
1 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,14 @@ Credit: @hakluke
|
|||
('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
|
||||
Credit: @eur0pa
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue