mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 11:17:12 +02:00
Merge pull request #4 from Jorengarenar/master
Added "The hardware way"
This commit is contained in:
commit
b7525d0891
1 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,11 @@ Locally (the cheaty, lazy way, why even bother):
|
|||
$ curl "http://localhost:8888/$(ps aux | grep -E -o 'kill-vi-[0-9]+')"
|
||||
```
|
||||
|
||||
## The hardware way
|
||||
Credit: @Jorengarenar
|
||||
|
||||
_**Pull the plug out**_
|
||||
|
||||
## The timeout way
|
||||
Credit: @aarongorka
|
||||
Before running vim, make sure to set a timeout:
|
||||
|
@ -67,3 +72,4 @@ In `vi`:
|
|||
```
|
||||
:!sudo reboot
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue