Use another vim instance to exit

This commit is contained in:
Kahlil Hodgson 2019-09-27 21:17:25 +10:00
parent 9b4b022cd0
commit de021cb597

View file

@ -139,3 +139,12 @@ Credit: @david50407
```
:let command='vim ''+\\!kill -9 ' . getpid() . ''' +qall -es' | execute "!" . command
```
## The Client-Server way
Credit: @tartansandal
If `+clientserver` is enabled -- typically the case for the GUI -- you can simply
```
:!gvim --remote-send ':q\!<CR>'
```