I put some thought into why you would need this.  And I would suggest.

Use a source repository such as svn.

create a branch for each machine
map a command that commits the file on save on machine1
map a command that displays the patch of the svn diff of the branch of
machine1 on machine2 in a new window
write a loop which does this periodically if you need it automated.

If this doesn't really meet your requirements can you explain why and
give us a clue as to what your doing?


Peter Hodge wrote:
Hello Yakov,

Couldn't you hook into the FileChangedShell autocmd event and merge the changes
into your buffer from there? You can also handle the swap file message with
SwapExists event.

regards,
Peter



--- Yakov Lerner <[EMAIL PROTECTED]> wrote:

Hello Bram,
Is it possible to add this item to the vim voting list ?:

  "collaboration of N vim instances editing same file"
  -- Ability of N instances of vim to absorb, merge and show changes
  to the same file made by other running vim instances [ either by reading
  other vim's swapfiles, or somehow else ] ?

Can this be added to SOC ?

Yakov



Send instant messages to your online friends http://au.messenger.yahoo.com


Reply via email to