Vim clientserver

Hal Burgiss hal at burgiss.net
Mon Jun 15 18:14:20 UTC 2009


On Tue, Jun 16, 2009 at 01:26:58AM +0800, Tim Webster wrote:
> What do you mean by client-server?

http://www.vim.org/htmldoc/remote.html

 "When compiled with the |+clientserver| option, Vim can act as a command
  server.  It accepts messages from a client and executes them.  At the same
  time, Vim can function as a client and send commands to a Vim server."

Its really unclear to me how this works. The documentation I find is about the
client side.


> The best way to edit a file on a remote machine is
> ssh -X user at hosts
> gvim file
> This will open the remote file as gvim locally displaced.
> 

hal at Nexus:~$ gvim .vimrc
E233: cannot open display
Press ENTER or type command to continue

Out of 15 or so servers I interact with, that is the only one with gvim. I know
about gvim scp://server//path/file, but it is relatively slow. 
 
-- 
Hal




More information about the ubuntu-users mailing list