Wednesday, March 29, 2017

Re: how to find out what the current vim's servername is?



On Wed, Mar 29, 2017 at 10:39 AM, Charles E Campbell <drchip@campbellfamily.biz> wrote:
Hello:

I've looked through the help for some way to find out what the current
gvim's server name is (in my case, under X).  The serverlist() function
gives a list of all such server names, and one can specify a vim to have
a specific name, but usually the names appear to be something like GVIM,
GVIM2, GVIM3, etc.

:echo v:servername

Should do it.
Dave

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment