Re: wish: collaboration of N vim instances editing same file

2007-04-29 Thread Bram Moolenaar
Yakov Lerner wrote: 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

Re: wish: collaboration of N vim instances editing same file

2007-04-29 Thread Gregory Seidman
On Sun, Apr 29, 2007 at 10:43:14PM +0200, Bram Moolenaar wrote: Yakov Lerner wrote: 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

RE: wish: collaboration of N vim instances editing same file

2007-04-24 Thread Gene Kwiecinski
Odd, I got this here, but not from the vimlist... Couldn't the 'patch' command do this? E.g., Vim#1 has made some changes to example.c (but not saved them), and Vim#2 makes some different changes and ... Shouldn't this be possible through the autocommands? I think you could write this as a

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Gene Kwiecinski
I can't think of any valid reason why one lonely user - me for instance - would want to fire up several instances of vim to edit the same file. It can be. For example, in LNX user can edit file in text console, then switch to X11 and then start editor again to edit the same file, forgetting that

Re: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Yakov Lerner
On 4/23/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: I can't think of any valid reason why one lonely user - me for instance - would want to fire up several instances of vim to edit the same file. It can be. For example, in LNX user can edit file in text console, then switch to X11 and then

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Gene Kwiecinski
I'd be seriously uncomfortable with that as a feature. Imagine absentmindedly editing the same file 2x or more. Make some changes in one instance, make different changes in another instance, save/quit the first, save/quit the second, trash all the edits made in the first instance. In the

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Peter Hodge
Hello, Couldn't the 'patch' command do this? E.g., Vim#1 has made some changes to example.c (but not saved them), and Vim#2 makes some different changes and saves them. Vim#1 sees that example.c has changed, and makes a diff between the new example.c and what it originally was, and also makes a

Re: wish: collaboration of N vim instances editing same file

2007-04-20 Thread Andrew Maykov
On 4/20/07, cga2000 [EMAIL PROTECTED] wrote: collaboration of N vim instances editing same file [there was some text] See the screen(1) man page and search for multi. Are you (Is he) talking about several users concurrently modifying the same file(s) .. possibly from different geographic

Re: wish: collaboration of N vim instances editing same file

2007-04-20 Thread cga2000
On Fri, Apr 20, 2007 at 03:55:33PM EDT, Andrew Maykov wrote: On 4/20/07, cga2000 [EMAIL PROTECTED] wrote: collaboration of N vim instances editing same file [there was some text] See the screen(1) man page and search for multi. Are you (Is he) talking about several users concurrently

Re: wish: collaboration of N vim instances editing same file

2007-04-19 Thread cga2000
On Thu, Apr 19, 2007 at 03:09:38PM EDT, Gary Johnson wrote: On 2007-04-11, 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,

Re: wish: collaboration of N vim instances editing same file

2007-04-19 Thread list
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

Re: wish: collaboration of N vim instances editing same file

2007-04-19 Thread Gary Johnson
On 2007-04-11, 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

Re: wish: collaboration of N vim instances editing same file

2007-04-19 Thread cga2000
On Thu, Apr 19, 2007 at 03:09:38PM EDT, Gary Johnson wrote: On 2007-04-11, 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,

wish: collaboration of N vim instances editing same file

2007-04-11 Thread Yakov Lerner
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

wish: collaboration of N vim instances editing same file

2007-04-11 Thread Yakov Lerner
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

Re: wish: collaboration of N vim instances editing same file

2007-04-11 Thread Peter Hodge
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