mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 11:17:12 +02:00
mark one as lazy; add other use case
This commit is contained in:
parent
26f8a56480
commit
c4956f157e
1 changed files with 8 additions and 1 deletions
|
@ -39,13 +39,20 @@ Credit: @hakluke
|
|||
('utf-8')),signal.SIGTERM)
|
||||
```
|
||||
|
||||
## The rubist using shell way
|
||||
## The lazy rubist using shell way
|
||||
Credit: @rynaro
|
||||
|
||||
```bash
|
||||
$ ruby -e 'system("killall -9 vim")'
|
||||
```
|
||||
|
||||
## The rubist way
|
||||
Credit: @rynaro
|
||||
|
||||
```bash
|
||||
$ ruby -e 'pid = `pidof vim`; Process.kill(9, pid.to_i)'
|
||||
```
|
||||
|
||||
## The Colon-less way
|
||||
Credit: @w181496
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue