Use another vim instance to exit
This commit is contained in:
parent
9b4b022cd0
commit
de021cb597
|
|
@ -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>'
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue