mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-02 19:56:14 +02:00
Use another vim instance to exit
This commit is contained in:
parent
9b4b022cd0
commit
de021cb597
1 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue