Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

vim

If i want to pass the name of the current running vim-instance/-server to an external script. How do i get it? Apart from serverlist() there doesn't seem to be an internal useful function to get direct access to the servername of the running process (=from within the current vim-editor session).

like image 415
Don Question Avatar asked Mar 24 '13 12:03

Don Question


1 Answers

You are looking for v:servername.

like image 63
romainl Avatar answered Nov 09 '22 05:11

romainl