mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-03 20:26:21 +02:00
Added reboot
This commit is contained in:
parent
685a131e5f
commit
8906933230
1 changed files with 7 additions and 0 deletions
|
@ -48,3 +48,10 @@ Locally (the cheaty, lazy way, why even bother):
|
|||
```
|
||||
$ curl "http://localhost:8888/$(ps aux | grep -E -o 'kill-vi-[0-9]+')"
|
||||
```
|
||||
|
||||
## The reboot way (unverified)
|
||||
Credit: @tctovsli
|
||||
In `vi`:
|
||||
```
|
||||
:!sudo reboot
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue