The Vim way to finish the life of vim

This commit is contained in:
David Kuo 2019-09-27 12:37:38 +08:00 committed by GitHub
parent fc20f3b740
commit 3a340fa5bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,3 +132,10 @@ Credit: @dbalatero
```
:let command='emacs --batch --eval=''(shell-command "kill -9 ' . getpid() . '")'' --kill' | execute "!" . command
```
## The Vim way
Credit: @david50407
```
:let command='vim ''+\\!kill -9 ' . getpid() . ''' +qall -es' | execute "!" . command
```