mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-03 20:26:21 +02:00
Merge pull request #10 from robotman321/master
Russian Roulette timeout
This commit is contained in:
commit
cf11761fa5
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
Reference in a new issue