Merge pull request #20 from david50407/the-vim-way

The Vim way to finish the life of vim
This commit is contained in:
Luke Stephens (hakluke) 2019-09-27 15:01:14 +10:00 committed by GitHub
commit 9b4b022cd0
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 :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
```