On 28/10/08 02:10, Richard Hartmann wrote:
> Hi all,
>
> I just wondered if it's possible to run
>
>    vimdiff foo bar
>
> mark a few lines with visual line mode and do $magic.
>
> Said magic would output what
>
>    diff -ruN
>
> would do, but _only over the selected lines_. Basically,
> this would allow me to create sub-patches.
>
>
> Does anything like this exist? Is it even possible?
>
>
> Thanks,
> Richard

AFAIK, with current versions of Vim the only way to get what you're 
asking for is to extract the desired lines (either using ":'<,'>w 
filename" or pasting them into a new buffer) then diffing the result.

Best regards,
Tony.
-- 
Under deadline pressure for the next week.  If you want something, it
can wait.  Unless it's blind screaming paroxysmally hedonistic ...


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

Reply via email to