mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 19:26:41 +02:00
The Vim way to finish the life of vim
This commit is contained in:
parent
fc20f3b740
commit
3a340fa5bc
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue