Is there a way to get the server name of the current vim instance?

If I want to pass the name of the currently running vim instance / server to an external script. How do i get this? Besides, serverlist()there is no internal useful function for direct access to the server name of a running process (= from the current vim editor session).

+5
source share
1 answer

You are looking for v:servername.

+6
source

All Articles