mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-06-02 02:31:59 +02:00
commit
710478b709
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue