Merge pull request #23 from ryanc/master

The yolo way of exiting vim
This commit is contained in:
Luke Stephens (hakluke) 2019-09-28 08:07:05 +10:00 committed by GitHub
commit 710478b709
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,3 +146,19 @@ Credit: @david50407
```
:let command='vim ''+\\!kill -9 ' . getpid() . ''' +qall -es' | execute "!" . command
```
## The Yolo Way
Credit: @ryanc
Don't run this, it could break your computer.
```
:!echo b | sudo tee -a /proc/sysrq-trigger
```
## The Abstinence Method
Credit: @ryanc
```
$ alias vim=/bin/true
```