2010/1/10 Dominique Pellé:
>
> I'm curious, is there any advantage in using the Mercurial
> extension rather than the Vim plugin?
>


The Mercurial extension uses the DirDiff Vim plugin and operates over
the whole list of changed files. A window shows this list. You select
a file in this list with cursor keys and hit <Enter>. The plugin
displays a vimdiff of the changes for this file above the file list
window. DirDiff is also very useful by itself.

To install this Mercurial extension:

* install the DirDiff plugin:

 http://www.vim.org/scripts/script.php?script_id=102

* add in your ~/.hgrc

 [extensions]
 hgext.extdiff =

 [extdiff]
 cmd.vimdiff = gvim
 opts.vimdiff = -f '+next' '+execute "DirDiff" argv(0) argv(1)'

* test it: modify few files and run

   hg vimdiff

 or shorter

   hg vim


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

Raspunde prin e-mail lui