mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-13 08:57:05 +02:00
Add Russian Roulette timeout mode
This commit is contained in:
parent
3ffe812d18
commit
cdd42d7ba9
1 changed files with 7 additions and 0 deletions
|
@ -68,6 +68,13 @@ $ alias vim='timeout 600 vim'
|
||||||
```
|
```
|
||||||
Make sure to save regularly.
|
Make sure to save regularly.
|
||||||
|
|
||||||
|
### Russian Roulette mode
|
||||||
|
|
||||||
|
When you want to spice things up a bit:
|
||||||
|
```
|
||||||
|
$ timeout $RANDOM vim
|
||||||
|
```
|
||||||
|
|
||||||
## The reboot way
|
## The reboot way
|
||||||
Credit: @tctovsli
|
Credit: @tctovsli
|
||||||
In `vi`:
|
In `vi`:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue