[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Vimdiff 2 and 3-way merge support

From: Julio M. Merino Vidal
Subject: Re: [Monotone-devel] Vimdiff 2 and 3-way merge support
Date: Tue, 15 Feb 2005 07:56:17 +0100

On Mon, 2005-02-14 at 16:17 -0600, Matthew A. Nicholson wrote:
> Here is a patch to std_hooks.lua to add vimdiff support for 2 and 3 way 
> merge. 
> For the merge to work, the user must save all changes in the left-most file 
> in 
> the vim window. (they will also have to press enter to vim's prompt when it 
> starts)

+      elseif program_exists_in_path("gvim") then
+         cmd = merge2_vim_cmd("gvim", lfile, rfile, outfile)
+      elseif program_exists_in_path("vim") then
+         cmd = merge2_vim_cmd("vim", lfile, rfile, outfile)

Is it really a good idea to rely on gvim first?

I have both vim and gvim on my system; but, when running gvim in the
console, it spits out an annoying warning (no X server found) and you
have to manually accept it by pressing return.

Maybe the code could check if gvim exists and the DISPLAY variable is


Julio M. Merino Vidal <address@hidden>
The NetBSD Project -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]