Friday, August 20, 2010

Re: vimdiff-like highlighting within the same file?

> How would you like the plugin to handle that automatically. If you make
> good suggestions, I might implement that.

Do you mean the narrow region plugin? Actually, that plugin may not be
involved at all.

Here's a use case for what I'm envisioning.

(1) one plain text file in unified diff format is opened in vim
(2) vim auto-detects that this is a unified diff file
(3) for lines that have changed, the *parts* of lines that have
changed are specifically highlighted (similar to the highlighting
provided when two files are opened with vimdiff)

Here's a mockup:
* http://yfrog.com/j1vimintrafilediffhighligp
* http://imagebin.ca/view/LmlbQoR.html

Bonus use case step:

(4) provide keybindings that can
(a) cycle through differences
(b) cycle through intra-line differences

Does that make sense?

--
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: