mhinz / neovim-remote

:ok_hand: Support for --remote and friends.
MIT License
1.73k stars 83 forks source link

How to clean/clear addresses of long lost nvim processes? #166

Closed qazip closed 3 years ago

qazip commented 3 years ago

I am trying to create a simple bash-script to have neovim-qt work like sublime-text when opening files. I am using neovim-remote for that. However, I would like a way to clean/clear/delete address of nvim processes that no longer exist..

How can I do that?

mhinz commented 3 years ago

Delete addresses from what? neovim-remote isn't storing any addresses.

Do you mean --serverlist? If so, it depends on your OS. By default, Nvim uses Unix domain sockets, but TCP works just as well. When an Nvim process gets exited cleanly, it should clean up its sockets as well. (Might take a bit longer for TCP sockets.)

mhinz commented 3 years ago

I'll reopen, if there's something I can act on.