> I don't know if it is called co-editing, i.e. serveral men edit the same file
> at the same time, each modification also shows up on the others' vim instand.
> 
> Is it possible? If so, how to do it?

I don't believe it's a native ability for Vim.  However, I know 
you can use "screen" to share shell sessions, which by extension 
would allow sharing of a vim session.  However, it's the same vim 
instance, not the editing of disjoint areas of the same file (you 
can't be editing the top of the document while your coworker 
edits the bottom of the file at the same time).

If you're willing to use asynchronous methods, you can use a 
revision-control system that allows you to merge changes back 
together (i.e. not a "locking" model).  That way, each person can 
work on their own local copy (perhaps automatically committing to 
the repository at brief intervals) using their own local OS/Vim 
instance.  There are piles of options:  Subversion, Mercurial, 
Git, Bazaar, CVS, and Darcs are popular choices[1] (the first 4 
have risen to the top of popular mindshare).

Lastly, there might be some sort of "concurrent editing" script 
on vim.org or the wiki but I'm not familiar with such.


If you're trying to teach someone Vim, the screen-sharing may 
work better.  If you're just trying to get stuff done in parallel 
on the document, the shared revision-control system is a better 
route, able to keep all edits separate, and provide you with a 
history of who did what.  All very handy.

-tim

[1]
http://en.wikipedia.org/wiki/List_of_revision_control_software
http://en.wikipedia.org/wiki/Comparison_of_revision_control_software





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

Reply via email to