Context: I'm trying to use vim's clientserver mode on Mac OS X, using iterm2. I've compiled vim with clientserver via brew, and I've got XQuartz installed also. This is to allow continuous compilation for the vimtex plugin.
When opening vim with
vim --servername VIM
it opens vim seemingly as normal, but v:servername
stays empty, and from another terminal calling vim --serverlist
gives no output (not even an error). To me, it seems like vim isn't really creating a server at all?
Thanks
:echo has('clientserver')
when you start Vim? This should be 1 of the feature is compiled in (regardless of whether or not thev:servername
is defined). – Karl Yngve Lervåg Oct 4 '17 at 11:30brew install vim --with-client-server
, after installing xquartz though brew. – B. Mehta Oct 4 '17 at 13:38brew
command might have not worked. But before looking into that you should ensure that you know that this is the problem (which I think it is). – Karl Yngve Lervåg Oct 4 '17 at 13:44:echo has('clientserver')
gives 1 – B. Mehta Oct 4 '17 at 14:23