> I've also wanted to do diffs within the same file, and now I'm
> thinking that this is really just a special case of something more
> general that may have other uses (although I haven't thought of them
> yet). The concept here is "virtual buffers" which would represent a
> portion of a file, or more generally, a number of portions of a number
> of files concatenated together. Once you could do something like
>
> :virtbuf bufname filename startline endline
>
> to create a virtual buffer, diffing it with another real or virtual
> buffer would be easy.
>
> I'm wondering if this isn't already possible with some of the
> vimscript commands. If not, I may look into how to do it in the C code.
Look into Christian Brabandt's NrrwRgn plugin, available at
http://www.vim.org/scripts/script.php?script_id=3075 .
Regards,
Chip Campbell
--
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
No comments:
Post a Comment