mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-02 19:56:14 +02:00
Merge pull request #21 from tartansandal/the-client-server-way
The client-server way
This commit is contained in:
commit
6a68e26e71
1 changed files with 9 additions and 0 deletions
|
@ -166,6 +166,15 @@ 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>'
|
||||
```
|
||||
|
||||
## The Yolo Way
|
||||
Credit: @ryanc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue