Am 15.01.2012 um 15:44 schrieb Tim Chase:
> Fortunately at least with wdiff, there's an option to change the pre/post
> markers for the text added/deleted via the --{start,end}-{delete,insert}
> command-line flags, so the diff could accommodate a fairly arbitrary syntax.
> When I've wanted to see a word-diff, I usually use the default wdiff tags and
> then do something like
>
> wdiff 1.txt 2.txt | vi -c 'match DiffDelete /\[-.\{-}-]/' -c '2match DiffAdd
> /{+.\{-}+}/' -
>
> which visually highlights the changes. This could be wrapped up in a pretty
> simple shell/batch script.
Thanks Tim. This, however, would only produce a 3rd file showing the diffs. I'd
like to see both diffing files in one window with the option to modify the one
or the other.
Surprising that there is not a good library for that to be included in Vim, as
Bram mentioned.
Best,
Claus
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php