Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to make use of Vim's clientserver feature without GUI?

Tags:

vim

I've compiled Vim with Homebrew (OS X) like that:

brew install vim --with-client-server

And the --version request indeed confirms it:

a @ ~> /usr/local/bin/vim --version | grep serv
+clientserver    -hangul_input    +netbeans_intg   +title

Besides, just in case, it has X11 support, too:

a @ ~> /usr/local/bin/vim --version | grep X11
+digraphs        +mksession       +scrollbind       +X11

However, if I start Vim with the servername option like this: /usr/local/bin/vim --servername foo, asking then vim in another shell to enlist active servers returns just nothing:

 a @ ~> /usr/local/bin/vim --serverlist
 a @ ~>

Thus, I wonder, is it possible at all to use the client-server feature in the console mode, without GUI? Any positive feedback available?

like image 708
A S Avatar asked Oct 31 '22 17:10

A S


1 Answers

The help tells:

The communication between client and server goes through the X server. 

(found with help client-server)

like image 85
Thomas Baruchel Avatar answered Nov 30 '22 15:11

Thomas Baruchel