All,

A recent thread[1] has prompted me to ask how to share an existing
Vim instance from multiple machines.

At work, we have two lab areas.  Each developer has a Linux box in the
main lab on which to do work, and he generally used Gvim under the X
window system for this purpose.  When in the other lab, he often wants
to view or edit the files on his main Linux box.  This is generally done
by an ssh connection into the main Linux box followed by starting up
another instance of Vim.  The "Swap file exists" message is a common
occurrence for us, and it generally does not indicate a crashed ssh or
vim session.  We do not generally leave unsaved changes in running Vim
sessions, and we have Vim configured to re-read changed files
automatically (via :set autoread).  I'm not really comfortable with this
mode of operation, though, because I don't like conditioning our
developers to ignore the swapfile message.  We could use GNU screen and
console Vim to resume a single session of Vim remotely, but that loses
the nice Gvim features.  I've seen suggestions to use VNC even when
using a box locally so that the entire graphical session can be resumed
from a remote connection, but that loses the local feel (not all
keystrokes are transparently fed through VNC, and it doesn't feel
snappy).

Does anyone have a preferred solution for sharing running Vim instances
from multiple machines?

Thanks,
Michael Henry

[1]: vim_dev's thread 'Feature request:  Add a Diff option upon open when
"Found a swap file..."'


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to