You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to select the nvim instance by PID instead of socket?
I want to query the current state of an instance to decide whether I need to ask before closing a tab in my terminal, but I only have the PID of the nvim process in question.
Is there a convinient way to run the evaluation on the nvim instance with that PID. I was thinking something like:
on my machine, as long as I don't set the NVIM_LISTEN_ADDRESS environment variable (which, while supported by nvr, is deprecated in nvim, but still has an effect on the socket name), the PID is added to the socket, e.g.
Is it possible to select the nvim instance by PID instead of socket?
I want to query the current state of an instance to decide whether I need to ask before closing a tab in my terminal, but I only have the PID of the nvim process in question.
Is there a convinient way to run the evaluation on the nvim instance with that PID. I was thinking something like:
nvr --process 123456 --remote-expr "getbufinfo({'bufmodified': 1})"
The text was updated successfully, but these errors were encountered: